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

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

16 lines
325 B
Plaintext
Raw Normal View History

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