]> git.proxmox.com Git - rustc.git/blob - src/test/ui/union/union-lint-dead-code.thirunsafeck.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / union / union-lint-dead-code.thirunsafeck.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