Trying out the @rustlang 2018 edition. How do I make my custom derive work? Compiler now says:
error: cannot find derive macro `Ios` in this scope
--> cedar-apple-fhdl/src/specials/io.rs:1:10
|
1 | #[derive(Ios)]
| ^^^
-
-
Replying to @kamidphish @rustlang
I think you need to have something like this #[macro_use] extern crate pest_derive; If you are trying to use it from an external crate.
2 replies 0 retweets 1 like -
iirc you don't need macro_use for Rust 2018.
1 reply 0 retweets 0 likes
You don’t for macros in other crates, but you do for macros defined in tv same crate
11:08 AM - 7 Jul 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.