summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/dead-code/const-and-self.stderr
blob: 9d1d7d6ecde712214779c5af0a9e77eed321e69a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
warning: variants `B` and `C` are never constructed
  --> $DIR/const-and-self.rs:33:5
   |
LL | enum E {
   |      - variants in this enum
LL |     A,
LL |     B,
   |     ^
LL |     C,
   |     ^
   |
note: the lint level is defined here
  --> $DIR/const-and-self.rs:3:9
   |
LL | #![warn(dead_code)]
   |         ^^^^^^^^^

warning: 1 warning emitted