fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
612 B32 linesraw
1error: field is never read: `c`
2  --> $DIR/union-fields-1.rs:6:5
3   |
4LL |     c: u8,
5   |     ^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/union-fields-1.rs:1:9
9   |
10LL | #![deny(dead_code)]
11   |         ^^^^^^^^^
12
13error: field is never read: `a`
14  --> $DIR/union-fields-1.rs:9:5
15   |
16LL |     a: u8,
17   |     ^^^^^
18
19error: field is never read: `a`
20  --> $DIR/union-fields-1.rs:13:20
21   |
22LL | union NoDropLike { a: u8 }
23   |                    ^^^^^
24
25error: field is never read: `c`
26  --> $DIR/union-fields-1.rs:18:5
27   |
28LL |     c: u8,
29   |     ^^^^^
30
31error: aborting due to 4 previous errors
32