fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: variants `B` and `C` are never constructed 2 --> $DIR/const-and-self.rs:33:5 3 | 4LL | enum E { 5 | - variants in this enum 6LL | A, 7LL | B, 8 | ^ 9LL | C, 10 | ^ 11 | 12note: the lint level is defined here 13 --> $DIR/const-and-self.rs:3:9 14 | 15LL | #![warn(dead_code)] 16 | ^^^^^^^^^ 17 18warning: 1 warning emitted 19