16 lines
411 B
Plaintext
16 lines
411 B
Plaintext
error: variant is never constructed: `Variant1`
|
|
--> $DIR/unused-variant.rs:5:5
|
|
|
|
|
LL | Variant1,
|
|
| ^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/unused-variant.rs:1:9
|
|
|
|
|
LL | #![deny(dead_code)]
|
|
| ^^^^^^^^^
|
|
= note: `Enum` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
|
|
|
|
error: aborting due to previous error
|
|
|