error: field is never read: `c` | |
--> $DIR/union-fields-1.rs:6:5 | |
| | |
LL | c: u8, | |
| ^^^^^ | |
| | |
note: lint level defined here | |
--> $DIR/union-fields-1.rs:1:9 | |
| | |
LL | #![deny(dead_code)] | |
| ^^^^^^^^^ | |
error: field is never read: `a` | |
--> $DIR/union-fields-1.rs:9:5 | |
| | |
LL | a: u8, | |
| ^^^^^ | |
error: field is never read: `a` | |
--> $DIR/union-fields-1.rs:13:20 | |
| | |
LL | union NoDropLike { a: u8 } | |
| ^^^^^ | |
error: field is never read: `c` | |
--> $DIR/union-fields-1.rs:18:5 | |
| | |
LL | c: u8, | |
| ^^^^^ | |
error: aborting due to 4 previous errors | |