fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
284 B14 linesraw
1error: variant is never constructed: `Variant1`
2  --> $DIR/unused-variant.rs:5:5
3   |
4LL |     Variant1,
5   |     ^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/unused-variant.rs:1:9
9   |
10LL | #![deny(dead_code)]
11   |         ^^^^^^^^^
12
13error: aborting due to previous error
14