1 error: unreachable pattern
2 --> $DIR/match-byte-array-patterns.rs:8:9
4 LL | &[0x41, 0x41, 0x41, 0x41] => {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: lint level defined here
8 --> $DIR/match-byte-array-patterns.rs:1:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: unreachable pattern
14 --> $DIR/match-byte-array-patterns.rs:14:9
19 error: unreachable pattern
20 --> $DIR/match-byte-array-patterns.rs:20:9
25 error: unreachable pattern
26 --> $DIR/match-byte-array-patterns.rs:26:9
31 error: unreachable pattern
32 --> $DIR/match-byte-array-patterns.rs:34:9
34 LL | &[0x41, 0x41, 0x41, 0x41] => {}
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^
37 error: unreachable pattern
38 --> $DIR/match-byte-array-patterns.rs:40:9
43 error: unreachable pattern
44 --> $DIR/match-byte-array-patterns.rs:46:9
49 error: unreachable pattern
50 --> $DIR/match-byte-array-patterns.rs:52:9
55 error: aborting due to 8 previous errors