fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
425 B20 linesraw
1error: unreachable pattern
2  --> $DIR/match-vec-fixed.rs:7:9
3   |
4LL |         [_, _, _] => {}
5   |         ^^^^^^^^^
6   |
7note: lint level 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