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