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

33 lines
697 B
Plaintext

error: variant is never constructed: `Variant2`
--> $DIR/lint-dead-code-5.rs:6:5
|
LL | Variant2
| ^^^^^^^^
|
note: lint level defined here
--> $DIR/lint-dead-code-5.rs:2:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: variant is never constructed: `Variant5`
--> $DIR/lint-dead-code-5.rs:13:5
|
LL | Variant5 { _x: isize },
| ^^^^^^^^^^^^^^^^^^^^^^
error: variant is never constructed: `Variant6`
--> $DIR/lint-dead-code-5.rs:14:5
|
LL | Variant6(isize),
| ^^^^^^^^^^^^^^^
error: enum is never used: `Enum3`
--> $DIR/lint-dead-code-5.rs:18:1
|
LL | enum Enum3 {
| ^^^^^^^^^^
error: aborting due to 4 previous errors