fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: unreachable pattern 2 --> $DIR/slice-pattern-const.rs:9:9 3 | 4LL | [84, 69, 83, 84] => (), 5 | ^^^^^^^^^^^^^^^^ 6 | 7note: lint level defined here 8 --> $DIR/slice-pattern-const.rs:1:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: unreachable pattern 14 --> $DIR/slice-pattern-const.rs:15:9 15 | 16LL | [84, 69, 83, 84] => (), 17 | ^^^^^^^^^^^^^^^^ 18 19error: unreachable pattern 20 --> $DIR/slice-pattern-const.rs:21:9 21 | 22LL | MAGIC_TEST => (), 23 | ^^^^^^^^^^ 24 25error: unreachable pattern 26 --> $DIR/slice-pattern-const.rs:28:9 27 | 28LL | FOO => (), 29 | ^^^ 30 31error: unreachable pattern 32 --> $DIR/slice-pattern-const.rs:35:9 33 | 34LL | BAR => (), 35 | ^^^ 36 37error: unreachable pattern 38 --> $DIR/slice-pattern-const.rs:43:9 39 | 40LL | BOO => (), 41 | ^^^ 42 43error: unreachable pattern 44 --> $DIR/slice-pattern-const.rs:44:9 45 | 46LL | b"" => (), 47 | ^^^ 48 49error: unreachable pattern 50 --> $DIR/slice-pattern-const.rs:45:9 51 | 52LL | _ => (), 53 | ^ 54 55error: unreachable pattern 56 --> $DIR/slice-pattern-const.rs:51:9 57 | 58LL | [true] => {} 59 | ^^^^^^ 60 61error: aborting due to 9 previous errors 62