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
[package]
name = "b"version = "0.1.0"authors = ["up9cloud <8325632+up9cloud@users.noreply.github.com>"]
edition = "2018"# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
schemars = "0.8"
Compiling b v0.1.0 (/private/tmp/b)error[E0425]: cannot find value `gen` in this scope --> src/main.rs:12:22 |12 | build_struct!(A { v: i32, }); | ^^^ not found in this scopeerror[E0425]: cannot find value `schema_object` in this scope --> src/main.rs:12:22 |12 | build_struct!(A { v: i32, }); | ^^^ not found in this scopeerror: aborting due to 2 previous errorsFor more information about this error, try `rustc --explain E0425`.error: could not compile `b`To learn more, run the command again with --verbose.
If I remove schemars::JsonSchema from derive, it works without errors.
The text was updated successfully, but these errors were encountered:
Something like this:
If I remove
schemars::JsonSchema
from derive, it works without errors.The text was updated successfully, but these errors were encountered: