fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
503 B20 linesraw
1error: `derive` may only be applied to structs, enums and unions
2  --> $DIR/issue-43023.rs:4:5
3   |
4LL |     #[derive(Debug)]
5   |     ^^^^^^^^^^^^^^^^
6
7error: `derive` may only be applied to structs, enums and unions
8  --> $DIR/issue-43023.rs:11:5
9   |
10LL |     #[derive(Debug)]
11   |     ^^^^^^^^^^^^^^^^
12
13error: `derive` may only be applied to structs, enums and unions
14  --> $DIR/issue-43023.rs:16:5
15   |
16LL |     #[derive(Debug)]
17   |     ^^^^^^^^^^^^^^^^
18
19error: aborting due to 3 previous errors
20