fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: unreachable pattern 2 --> $DIR/match-byte-array-patterns.rs:8:9 3 | 4LL | &[0x41, 0x41, 0x41, 0x41] => {} 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7note: lint level defined here 8 --> $DIR/match-byte-array-patterns.rs:1:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: unreachable pattern 14 --> $DIR/match-byte-array-patterns.rs:14:9 15 | 16LL | b"AAAA" => {}, 17 | ^^^^^^^ 18 19error: unreachable pattern 20 --> $DIR/match-byte-array-patterns.rs:20:9 21 | 22LL | b"AAAA" => {}, 23 | ^^^^^^^ 24 25error: unreachable pattern 26 --> $DIR/match-byte-array-patterns.rs:26:9 27 | 28LL | b"AAAA" => {}, 29 | ^^^^^^^ 30 31error: unreachable pattern 32 --> $DIR/match-byte-array-patterns.rs:34:9 33 | 34LL | &[0x41, 0x41, 0x41, 0x41] => {} 35 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 36 37error: unreachable pattern 38 --> $DIR/match-byte-array-patterns.rs:40:9 39 | 40LL | b"AAAA" => {}, 41 | ^^^^^^^ 42 43error: unreachable pattern 44 --> $DIR/match-byte-array-patterns.rs:46:9 45 | 46LL | b"AAAA" => {}, 47 | ^^^^^^^ 48 49error: unreachable pattern 50 --> $DIR/match-byte-array-patterns.rs:52:9 51 | 52LL | b"AAAA" => {}, 53 | ^^^^^^^ 54 55error: aborting due to 8 previous errors 56