fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
393 B14 linesraw
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