rust/tests/ui/lint/dead-code/const-and-self.stderr

20 lines
354 B
Plaintext

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