]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-36617.stderr
98b41b07ea98a43818c3beab18b4e19ec8cf75dd
[rust.git] / src / test / ui / issues / issue-36617.stderr
1 error: `derive` may only be applied to structs, enums and unions
2   --> $DIR/issue-36617.rs:1:1
3    |
4 LL | #![derive(Copy)]
5    | ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
6
7 error: cannot determine resolution for the derive macro `Copy`
8   --> $DIR/issue-36617.rs:1:11
9    |
10 LL | #![derive(Copy)]
11    |           ^^^^
12    |
13    = note: import resolution is stuck, try simplifying macro imports
14
15 error: cannot determine resolution for the derive macro `Copy`
16   --> $DIR/issue-36617.rs:1:11
17    |
18 LL | #![derive(Copy)]
19    |           ^^^^
20    |
21    = note: import resolution is stuck, try simplifying macro imports
22
23 error: aborting due to 3 previous errors
24