]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derive-uninhabited-enum-38885.stderr
Auto merge of #97652 - RalfJung:cenum_impl_drop_cast, r=nagisa
[rust.git] / src / test / ui / derive-uninhabited-enum-38885.stderr
1 warning: variant is never constructed: `Void`
2   --> $DIR/derive-uninhabited-enum-38885.rs:13:5
3    |
4 LL |     Void(Void),
5    |     ^^^^^^^^^^
6    |
7    = note: `-W dead-code` implied by `-W unused`
8    = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
9
10 warning: 1 warning emitted
11