blob: 8a3677d525d6662f4e767d633b9ed500bcc2fad8 [file] [log] [blame]
error: field `b` is never read
--> $DIR/union-lint-dead-code.rs:8:5
|
LL | union Foo {
| --- field in this union
LL | x: usize,
LL | b: bool,
| ^
|
note: the lint level is defined here
--> $DIR/union-lint-dead-code.rs:4:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to 1 previous error