mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
87a354b15d
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
252 B
Plaintext
9 lines
252 B
Plaintext
error: the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
|
|
--> $DIR/proc_macro_bug.rs:8:1
|
|
|
|
|
LL | #[proc_macro_derive(DeriveA)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|