]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-36617.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / 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
dfeec247
XL
15error: cannot determine resolution for the derive macro `Copy`
16 --> $DIR/issue-36617.rs:1:11
17 |
18LL | #![derive(Copy)]
19 | ^^^^
20 |
21 = note: import resolution is stuck, try simplifying macro imports
22
23error: aborting due to 3 previous errors
8faf50e0 24
1b1a35ee 25For more information about this error, try `rustc --explain E0774`.