fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
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