fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: variant `Void` is never constructed 2 --> $DIR/derive-uninhabited-enum-38885.rs:13:5 3 | 4LL | enum Foo { 5 | --- variant in this enum 6LL | Bar(u8), 7LL | Void(Void), 8 | ^^^^ 9 | 10 = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis 11 = note: `-W dead-code` implied by `-W unused` 12 = help: to override `-W unused` add `#[allow(dead_code)]` 13 14warning: 1 warning emitted 15