]>
Commit | Line | Data |
---|---|---|
e1599b0c XL |
1 | warning: variant is never constructed: `Void` |
2 | --> $DIR/derive-uninhabited-enum-38885.rs:13:5 | |
a1dfa0c6 | 3 | | |
e1599b0c XL |
4 | LL | Void(Void), |
5 | | ^^^^^^^^^^ | |
a1dfa0c6 XL |
6 | | |
7 | = note: `-W dead-code` implied by `-W unused` | |
5099ac24 FG |
8 | note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis |
9 | --> $DIR/derive-uninhabited-enum-38885.rs:10:10 | |
10 | | | |
11 | LL | #[derive(Debug)] | |
12 | | ^^^^^ | |
13 | = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) | |
a1dfa0c6 | 14 | |
ba9703b0 XL |
15 | warning: 1 warning emitted |
16 |