]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derives/issue-36617.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / derives / issue-36617.stderr
CommitLineData
1b1a35ee 1error[E0774]: `derive` may only be applied to structs, enums and unions
0731742a 2 --> $DIR/issue-36617.rs:1:1
8faf50e0 3 |
532ac7d7 4LL | #![derive(Copy)]
8faf50e0
XL
5 | ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
6
e1599b0c
XL
7error: cannot determine resolution for the derive macro `Copy`
8 --> $DIR/issue-36617.rs:1:11
9 |
10LL | #![derive(Copy)]
11 | ^^^^
12 |
13 = note: import resolution is stuck, try simplifying macro imports
14
fc512014 15error: aborting due to 2 previous errors
8faf50e0 16
1b1a35ee 17For more information about this error, try `rustc --explain E0774`.