1 error[E0774]: `derive` may only be applied to structs, enums and unions
2 --> $DIR/issue-36617.rs:1:1
5 | ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
7 error: cannot determine resolution for the derive macro `Copy`
8 --> $DIR/issue-36617.rs:1:11
13 = note: import resolution is stuck, try simplifying macro imports
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0774`.