]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-36617.stderr
Auto merge of #77872 - Xaeroxe:stabilize-clamp, r=scottmcm
[rust.git] / src / test / ui / issues / issue-36617.stderr
1 error[E0774]: `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: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0774`.