summary refs log tree commit diff
path: root/src/test/ui/lint/dead-code/unused-struct-variant.stderr
blob: b93d6d4ac1866ad0d70d7f2e7f69333dafcc8c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: variant is never constructed: `Bar`
  --> $DIR/unused-struct-variant.rs:8:5
   |
LL |     Bar(B),
   |     ^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-struct-variant.rs:1:9
   |
LL | #![deny(unused)]
   |         ^^^^^^
   = note: `#[deny(dead_code)]` implied by `#[deny(unused)]`

error: aborting due to previous error