1 error[E0774]: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-49934.rs:10:5
7 error[E0774]: `derive` may only be applied to structs, enums and unions
8 --> $DIR/issue-49934.rs:14:5
13 error[E0774]: `derive` may only be applied to structs, enums and unions
14 --> $DIR/issue-49934.rs:18:5
19 error[E0774]: `derive` may only be applied to structs, enums and unions
20 --> $DIR/issue-49934.rs:22:13
22 LL | let _ = #[derive(Debug)] "Hello, world!";
25 error[E0774]: `derive` may only be applied to structs, enums and unions
26 --> $DIR/issue-49934.rs:27:9
31 error: aborting due to 5 previous errors
33 For more information about this error, try `rustc --explain E0774`.