fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: field `b` is never read 2 --> $DIR/union-lint-dead-code.rs:8:5 3 | 4LL | union Foo { 5 | --- field in this union 6LL | x: usize, 7LL | b: bool, 8 | ^ 9 | 10note: the lint level is defined here 11 --> $DIR/union-lint-dead-code.rs:4:9 12 | 13LL | #![deny(dead_code)] 14 | ^^^^^^^^^ 15 16error: aborting due to previous error 17