]> git.proxmox.com Git - rustc.git/blame - src/test/ui/union/union-fields-1.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / union / union-fields-1.stderr
CommitLineData
60c5eb7d 1error: field is never read: `c`
0731742a 2 --> $DIR/union-fields-1.rs:6:5
ff7c6d11 3 |
532ac7d7 4LL | c: u8,
ff7c6d11
XL
5 | ^^^^^
6 |
7note: lint level defined here
0731742a 8 --> $DIR/union-fields-1.rs:1:9
ff7c6d11 9 |
0531ce1d 10LL | #![deny(dead_code)]
ff7c6d11
XL
11 | ^^^^^^^^^
12
60c5eb7d 13error: field is never read: `a`
0731742a 14 --> $DIR/union-fields-1.rs:9:5
ff7c6d11 15 |
532ac7d7 16LL | a: u8,
ff7c6d11
XL
17 | ^^^^^
18
60c5eb7d 19error: field is never read: `a`
0731742a 20 --> $DIR/union-fields-1.rs:13:20
ff7c6d11 21 |
532ac7d7 22LL | union NoDropLike { a: u8 }
ff7c6d11
XL
23 | ^^^^^
24
60c5eb7d 25error: field is never read: `c`
0731742a 26 --> $DIR/union-fields-1.rs:18:5
ff7c6d11 27 |
532ac7d7 28LL | c: u8,
ff7c6d11
XL
29 | ^^^^^
30
31error: aborting due to 4 previous errors
32