]>
Commit | Line | Data |
---|---|---|
923072b8 | 1 | error: variant `Bar` is never constructed |
60c5eb7d | 2 | --> $DIR/unused-struct-variant.rs:8:5 |
e1599b0c | 3 | | |
923072b8 FG |
4 | LL | enum E { |
5 | | - variant in this enum | |
6 | LL | Foo(F), | |
e1599b0c | 7 | LL | Bar(B), |
064997fb | 8 | | ^^^ |
e1599b0c | 9 | | |
74b04a01 | 10 | note: the lint level is defined here |
60c5eb7d | 11 | --> $DIR/unused-struct-variant.rs:1:9 |
e1599b0c XL |
12 | | |
13 | LL | #![deny(unused)] | |
14 | | ^^^^^^ | |
15 | = note: `#[deny(dead_code)]` implied by `#[deny(unused)]` | |
16 | ||
17 | error: aborting due to previous error | |
18 |