9ffffee4 FG |
1 | error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type |
2 | --> $DIR/proc_macro_bug.rs:8:1 |
3 | | |
4 | LL | #[proc_macro_derive(DeriveA)] |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | |
7 | error: aborting due to previous error |
8 | |