2019-08-21 18:30:11 -05:00
|
|
|
error: struct is never constructed: `F`
|
2019-10-24 23:42:05 -05:00
|
|
|
--> $DIR/unused-enum.rs:3:1
|
2019-08-21 18:30:11 -05:00
|
|
|
|
|
|
|
|
LL | struct F;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2019-10-24 23:42:05 -05:00
|
|
|
--> $DIR/unused-enum.rs:1:9
|
2019-08-21 18:30:11 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(unused)]
|
|
|
|
| ^^^^^^
|
|
|
|
= note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
|
|
|
|
|
|
|
|
error: struct is never constructed: `B`
|
2019-10-24 23:42:05 -05:00
|
|
|
--> $DIR/unused-enum.rs:4:1
|
2019-08-21 18:30:11 -05:00
|
|
|
|
|
|
|
|
LL | struct B;
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: enum is never used: `E`
|
2019-10-24 23:42:05 -05:00
|
|
|
--> $DIR/unused-enum.rs:6:1
|
2019-08-21 18:30:11 -05:00
|
|
|
|
|
|
|
|
LL | enum E {
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|