blob: b5db98f306bd32e10e3e6dc6a04a80e1dd92a14b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
error: `derive` may only be applied to structs, enums and unions
--> $DIR/issue-36617.rs:1:1
|
LL | #![derive(Copy)]
| ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
error: cannot determine resolution for the derive macro `Copy`
--> $DIR/issue-36617.rs:1:11
|
LL | #![derive(Copy)]
| ^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: aborting due to 2 previous errors
|