]> git.proxmox.com Git - rustc.git/blame - tests/ui/union/union-lint-dead-code.thirunsafeck.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / union / union-lint-dead-code.thirunsafeck.stderr
CommitLineData
923072b8 1error: field `b` is never read
136023e0 2 --> $DIR/union-lint-dead-code.rs:8:5
b7449926 3 |
923072b8
FG
4LL | union Foo {
5 | --- field in this union
6LL | x: usize,
532ac7d7 7LL | b: bool,
064997fb 8 | ^
b7449926 9 |
74b04a01 10note: the lint level is defined here
136023e0 11 --> $DIR/union-lint-dead-code.rs:4:9
b7449926
XL
12 |
13LL | #![deny(dead_code)]
14 | ^^^^^^^^^
15
4b012472 16error: aborting due to 1 previous error
b7449926 17