fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
432 B20 linesraw
1error: unreachable pattern
2  --> $DIR/match-vec-fixed.rs:7:9
3   |
4LL |         [_, _, _] => {}
5   |         ^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/match-vec-fixed.rs:1:9
9   |
10LL | #![deny(unreachable_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: unreachable pattern
14  --> $DIR/match-vec-fixed.rs:11:9
15   |
16LL |         [_, 1, _] => {}
17   |         ^^^^^^^^^
18
19error: aborting due to 2 previous errors
20