1 error: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-43023.rs:14:5
4 LL | #[derive(Debug)] //~ ERROR `derive` may only be applied to structs, enums and unions
7 error: `derive` may only be applied to structs, enums and unions
8 --> $DIR/issue-43023.rs:21:5
10 LL | #[derive(Debug)] //~ ERROR `derive` may only be applied to structs, enums and unions
13 error: `derive` may only be applied to structs, enums and unions
14 --> $DIR/issue-43023.rs:26:5
16 LL | #[derive(Debug)] //~ ERROR `derive` may only be applied to structs, enums and unions
19 error: aborting due to 3 previous errors