]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/macros-in-extern-derive.stderr
Rollup merge of #86478 - ehuss:future-incompat-test, r=oli-obk
[rust.git] / src / test / ui / proc-macro / macros-in-extern-derive.stderr
1 error[E0774]: `derive` may only be applied to structs, enums and unions
2   --> $DIR/macros-in-extern-derive.rs:2:5
3    |
4 LL |     #[derive(Copy)]
5    |     ^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0774`.