]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-lint-dead-code.mirunsafeck.stderr
Rollup merge of #102412 - joboet:dont_panic, r=m-ou-se
[rust.git] / src / test / ui / union / union-lint-dead-code.mirunsafeck.stderr
1 error: field `b` is never read
2   --> $DIR/union-lint-dead-code.rs:8:5
3    |
4 LL | union Foo {
5    |       --- field in this union
6 LL |     x: usize,
7 LL |     b: bool,
8    |     ^
9    |
10 note: the lint level is defined here
11   --> $DIR/union-lint-dead-code.rs:4:9
12    |
13 LL | #![deny(dead_code)]
14    |         ^^^^^^^^^
15
16 error: aborting due to previous error
17