2020-09-05 07:55:15 -05:00
|
|
|
error[E0774]: `derive` may only be applied to structs, enums and unions
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-36617.rs:1:1
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![derive(Copy)]
|
2018-07-15 16:11:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
|
|
|
|
|
2019-08-24 13:12:13 -05:00
|
|
|
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
|
|
|
|
|
2020-01-08 11:02:10 -06:00
|
|
|
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 3 previous errors
|
2018-07-15 16:11:54 -05:00
|
|
|
|
2020-09-05 07:55:15 -05:00
|
|
|
For more information about this error, try `rustc --explain E0774`.
|