fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
451 B16 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: aborting due to 2 previous errors
16