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