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