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: cannot determine resolution for the derive macro `Copy`
16 --> $DIR/issue-36617.rs:1:11
21 = note: import resolution is stuck, try simplifying macro imports
23 error: aborting due to 3 previous errors
25 For more information about this error, try `rustc --explain E0774`.