You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cargo build --target wasm32-unknown-unknown
Compiling spacetime-module v0.1.0 (F:\clockwork\broken)
error[E0412]: cannot find type `users__TableHandle` in this scope
--> src\lib.rs:2:33
|
2 | #[spacetimedb::table(name = users)]
| ^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0412`.
error: could not compile `spacetime-module` (lib) due to 1 previous error
This mainly shows up in doctests, which are secretly wrapped in a function scope.
Not sure it's possible to get a better error message, but maybe.
(To work around in doctests, just wrap the whole doctest in:
With a unique column or index. Repro:
Error:
This mainly shows up in doctests, which are secretly wrapped in a function scope.
Not sure it's possible to get a better error message, but maybe.
(To work around in doctests, just wrap the whole doctest in:
The text was updated successfully, but these errors were encountered: