]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-fields-1.mirunsafeck.stderr
Rollup merge of #86434 - CDirkx:ipv6-benchmarking, r=joshtriplett
[rust.git] / src / test / ui / union / union-fields-1.mirunsafeck.stderr
1 error: field is never read: `c`
2   --> $DIR/union-fields-1.rs:9:5
3    |
4 LL |     c: u8,
5    |     ^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/union-fields-1.rs:4:9
9    |
10 LL | #![deny(dead_code)]
11    |         ^^^^^^^^^
12
13 error: field is never read: `a`
14   --> $DIR/union-fields-1.rs:12:5
15    |
16 LL |     a: u8,
17    |     ^^^^^
18
19 error: field is never read: `a`
20   --> $DIR/union-fields-1.rs:16:20
21    |
22 LL | union NoDropLike { a: u8 }
23    |                    ^^^^^
24
25 error: field is never read: `c`
26   --> $DIR/union-fields-1.rs:21:5
27    |
28 LL |     c: u8,
29    |     ^^^^^
30
31 error: aborting due to 4 previous errors
32