rust/src/test/ui/lint/lint-dead-code-variant.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

15 lines
300 B
Plaintext

error: variant is never constructed: `Variant1`
--> $DIR/lint-dead-code-variant.rs:5:5
|
LL | Variant1,
| ^^^^^^^^
|
note: lint level defined here
--> $DIR/lint-dead-code-variant.rs:1:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to previous error