rust/tests/ui/lint/dead-code/unused-enum.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
522 B
Plaintext
Raw Normal View History

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