]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/dead-code/const-and-self.stderr
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / ui / lint / dead-code / const-and-self.stderr
1 warning: variants `B` and `C` are never constructed
2   --> $DIR/const-and-self.rs:33:5
3    |
4 LL | enum E {
5    |      - variants in this enum
6 LL |     A,
7 LL |     B,
8    |     ^
9 LL |     C,
10    |     ^
11    |
12 note: the lint level is defined here
13   --> $DIR/const-and-self.rs:3:9
14    |
15 LL | #![warn(dead_code)]
16    |         ^^^^^^^^^
17
18 warning: 1 warning emitted
19