fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
463 B17 linesraw
1error: variant `Variant1` is never constructed
2  --> $DIR/unused-variant.rs:5:5
3   |
4LL | enum Enum {
5   |      ---- variant in this enum
6LL |     Variant1,
7   |     ^^^^^^^^
8   |
9   = note: `Enum` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
10note: the lint level is defined here
11  --> $DIR/unused-variant.rs:1:9
12   |
13LL | #![deny(dead_code)]
14   |         ^^^^^^^^^
15
16error: aborting due to previous error
17