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
515 B20 linesraw
1error: unreachable pattern
2  --> $DIR/issue-57472.rs:15:13
3   |
4LL |             Punned { bar: [_], .. } => println!("bar"),
5   |             ^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/issue-57472.rs:2:9
9   |
10LL | #![deny(unreachable_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: unreachable pattern
14  --> $DIR/issue-57472.rs:31:13
15   |
16LL |             Punned { bar: [_] } => println!("bar"),
17   |             ^^^^^^^^^^^^^^^^^^^
18
19error: aborting due to 2 previous errors
20