fork/rust

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

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

master
411 B18 linesraw
1error: variant `Bar` is never constructed
2  --> $DIR/unused-struct-variant.rs:8:5
3   |
4LL | enum E {
5   |      - variant in this enum
6LL |     Foo(F),
7LL |     Bar(B),
8   |     ^^^
9   |
10note: the lint level is defined here
11  --> $DIR/unused-struct-variant.rs:1:9
12   |
13LL | #![deny(unused)]
14   |         ^^^^^^
15   = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
16
17error: aborting due to previous error
18