rust/src/test/ui/lint/dead-code/unused-enum.stderr

28 lines
520 B
Plaintext
Raw Normal View History

2019-08-21 18:30:11 -05:00
error: struct is never constructed: `F`
--> $DIR/unused-enum.rs:3:1
2019-08-21 18:30:11 -05:00
|
LL | struct F;
| ^^^^^^^^^
|
note: lint level defined here
--> $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`
--> $DIR/unused-enum.rs:4:1
2019-08-21 18:30:11 -05:00
|
LL | struct B;
| ^^^^^^^^^
error: enum is never used: `E`
--> $DIR/unused-enum.rs:6:1
2019-08-21 18:30:11 -05:00
|
LL | enum E {
| ^^^^^^
error: aborting due to 3 previous errors