]>
Commit | Line | Data |
---|---|---|
72b1a166 | 1 | error[E0774]: `derive` may only be applied to structs, enums and unions |
0731742a | 2 | --> $DIR/issue-36617.rs:1:1 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | #![derive(Copy)] |
8faf50e0 XL |
5 | | ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]` |
6 | ||
e1599b0c XL |
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 | ||
46de9a89 FG |
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 | |
8faf50e0 | 24 | |
72b1a166 | 25 | For more information about this error, try `rustc --explain E0774`. |