15 lines
338 B
Plaintext
15 lines
338 B
Plaintext
|
warning: enum is never used: `Void`
|
||
|
--> $DIR/derive-uninhabited-enum-38885.rs:18:1
|
||
|
|
|
||
|
LL | enum Void {} //~ WARN never used
|
||
|
| ^^^^^^^^^
|
||
|
|
|
||
|
= note: `-W dead-code` implied by `-W unused`
|
||
|
|
||
|
warning: enum is never used: `Foo`
|
||
|
--> $DIR/derive-uninhabited-enum-38885.rs:21:1
|
||
|
|
|
||
|
LL | enum Foo { //~ WARN never used
|
||
|
| ^^^^^^^^
|
||
|
|