]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/union/union-lint-dead-code.thirunsafeck.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / union / union-lint-dead-code.thirunsafeck.stderr
index 22d4428c902c8c0ec189ac9cb6e0072042023faf..6e21584c37c06186867d74468a1c9c8494d5630e 100644 (file)
@@ -1,8 +1,11 @@
-error: field is never read: `b`
+error: field `b` is never read
   --> $DIR/union-lint-dead-code.rs:8: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:4:9