1 error: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-36617.rs:1:1
4 LL | #![derive(Copy)] //~ ERROR `derive` may only be applied to structs, enums and unions
5 | ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
7 error: aborting due to previous error