]>
Commit | Line | Data |
---|---|---|
923072b8 | 1 | error: field `b` is never read |
136023e0 | 2 | --> $DIR/union-lint-dead-code.rs:8:5 |
b7449926 | 3 | | |
923072b8 FG |
4 | LL | union Foo { |
5 | | --- field in this union | |
6 | LL | x: usize, | |
532ac7d7 | 7 | LL | b: bool, |
064997fb | 8 | | ^ |
b7449926 | 9 | | |
74b04a01 | 10 | note: the lint level is defined here |
136023e0 | 11 | --> $DIR/union-lint-dead-code.rs:4:9 |
b7449926 XL |
12 | | |
13 | LL | #![deny(dead_code)] | |
14 | | ^^^^^^^^^ | |
15 | ||
4b012472 | 16 | error: aborting due to 1 previous error |
b7449926 | 17 |