fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
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