rust/tests/ui/union/union-lint-dead-code.stderr
Matthew Jasper 982b49494e Remove revisions for THIR unsafeck
This is to make the diff when stabilizing it easier to review.
2024-01-05 09:30:27 +00:00

18 lines
351 B
Plaintext

error: field `b` is never read
--> $DIR/union-lint-dead-code.rs:5:5
|
LL | union Foo {
| --- field in this union
LL | x: usize,
LL | b: bool,
| ^
|
note: the lint level is defined here
--> $DIR/union-lint-dead-code.rs:1:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to 1 previous error