rust/src/test/ui/lint/dead-code/unused-variant.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
411 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error: variant is never constructed: `Variant1`
--> $DIR/unused-variant.rs:5:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | Variant1,
2018-08-08 07:28:26 -05:00
| ^^^^^^^^
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
--> $DIR/unused-variant.rs:1:9
2018-08-08 07:28:26 -05:00
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
= note: `Enum` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
2018-08-08 07:28:26 -05:00
error: aborting due to previous error