fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
307 B14 linesraw
1error: unreachable pattern
2  --> $DIR/match-ref-ice.rs:13:9
3   |
4LL |         [1, 2, 3] => (),
5   |         ^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/match-ref-ice.rs:1:9
9   |
10LL | #![deny(unreachable_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14