]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/dead-code/unused-struct-variant.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / dead-code / unused-struct-variant.stderr
CommitLineData
923072b8 1error: variant `Bar` is never constructed
60c5eb7d 2 --> $DIR/unused-struct-variant.rs:8:5
e1599b0c 3 |
923072b8
FG
4LL | enum E {
5 | - variant in this enum
6LL | Foo(F),
e1599b0c 7LL | Bar(B),
064997fb 8 | ^^^
e1599b0c 9 |
74b04a01 10note: the lint level is defined here
60c5eb7d 11 --> $DIR/unused-struct-variant.rs:1:9
e1599b0c
XL
12 |
13LL | #![deny(unused)]
14 | ^^^^^^
15 = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
16
17error: aborting due to previous error
18