fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
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