summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/dead-code/empty-unused-enum.stderr
blob: 6391f0941c86f1477d9a2259af1d5601e86d39b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: enum `E` is never used
  --> $DIR/empty-unused-enum.rs:3:6
   |
LL | enum E {}
   |      ^
   |
note: the lint level is defined here
  --> $DIR/empty-unused-enum.rs:1:9
   |
LL | #![deny(unused)]
   |         ^^^^^^
   = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`

error: aborting due to previous error