fork/rust

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

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

master
740 B32 linesraw
1error: unreachable pattern
2  --> $DIR/slice-pattern-const-3.rs:9:9
3   |
4LL |         ["4", "5", "6", "7"] => (),
5   |         ^^^^^^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/slice-pattern-const-3.rs:1:9
9   |
10LL | #![deny(unreachable_patterns)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: unreachable pattern
14  --> $DIR/slice-pattern-const-3.rs:15:9
15   |
16LL |         ["4", "5", "6", "7"] => (),
17   |         ^^^^^^^^^^^^^^^^^^^^
18
19error: unreachable pattern
20  --> $DIR/slice-pattern-const-3.rs:21:9
21   |
22LL |         MAGIC_TEST => (),
23   |         ^^^^^^^^^^
24
25error: unreachable pattern
26  --> $DIR/slice-pattern-const-3.rs:28:9
27   |
28LL |         FOO => (),
29   |         ^^^
30
31error: aborting due to 4 previous errors
32