fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: `derive` may only be applied to structs, enums and unions 2 --> $DIR/derive-on-trait-item-or-impl-item.rs:2:5 3 | 4LL | #[derive(Clone)] 5 | ^^^^^^^^^^^^^^^^ 6 7error: `derive` may only be applied to structs, enums and unions 8 --> $DIR/derive-on-trait-item-or-impl-item.rs:10:5 9 | 10LL | #[derive(Clone)] 11 | ^^^^^^^^^^^^^^^^ 12 13error: aborting due to 2 previous errors 14