rust/tests/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
326 B
Plaintext
Raw Normal View History

error: enum `E` is never used
--> $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 1 previous error
2019-08-21 18:30:11 -05:00