1 error: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-43023.rs:4:5
7 error: `derive` may only be applied to structs, enums and unions
8 --> $DIR/issue-43023.rs:11:5
13 error: `derive` may only be applied to structs, enums and unions
14 --> $DIR/issue-43023.rs:16:5
19 error: aborting due to 3 previous errors