fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
667 B24 linesraw
1error: `derive` may only be applied to structs, enums and unions
2  --> $DIR/issue-36617.rs:1:1
3   |
4LL | #![derive(Copy)]
5   | ^^^^^^^^^^^^^^^^ help: try an outer attribute: `#[derive(Copy)]`
6
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
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
24