|
| 1 | +error[E0004]: non-exhaustive patterns: `&[false, _]` not covered |
| 2 | + --> $DIR/slice-patterns-exhaustiveness.rs:10:11 |
| 3 | + | |
| 4 | +LL | match s2 { |
| 5 | + | ^^ pattern `&[false, _]` not covered |
| 6 | + | |
| 7 | + = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| 8 | + |
| 9 | +error[E0004]: non-exhaustive patterns: `&[false, _, _]` not covered |
| 10 | + --> $DIR/slice-patterns-exhaustiveness.rs:14:11 |
| 11 | + | |
| 12 | +LL | match s3 { |
| 13 | + | ^^ pattern `&[false, _, _]` not covered |
| 14 | + | |
| 15 | + = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| 16 | + |
| 17 | +error[E0004]: non-exhaustive patterns: `&[false, _, _, _, _, _, _, _, _, _]` not covered |
| 18 | + --> $DIR/slice-patterns-exhaustiveness.rs:18:11 |
| 19 | + | |
| 20 | +LL | match s10 { |
| 21 | + | ^^^ pattern `&[false, _, _, _, _, _, _, _, _, _]` not covered |
| 22 | + | |
| 23 | + = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
| 24 | + |
1 | 25 | error[E0004]: non-exhaustive patterns: `&[false, true]` not covered
|
2 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:13:11 |
| 26 | + --> $DIR/slice-patterns-exhaustiveness.rs:27:11 |
3 | 27 | |
|
4 | 28 | LL | match s2 {
|
5 | 29 | | ^^ pattern `&[false, true]` not covered
|
6 | 30 | |
|
7 | 31 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
8 | 32 |
|
9 | 33 | error[E0004]: non-exhaustive patterns: `&[false, _, true]` not covered
|
10 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:18:11 |
| 34 | + --> $DIR/slice-patterns-exhaustiveness.rs:32:11 |
11 | 35 | |
|
12 | 36 | LL | match s3 {
|
13 | 37 | | ^^ pattern `&[false, _, true]` not covered
|
14 | 38 | |
|
15 | 39 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
16 | 40 |
|
17 | 41 | error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
|
18 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:23:11 |
| 42 | + --> $DIR/slice-patterns-exhaustiveness.rs:37:11 |
19 | 43 | |
|
20 | 44 | LL | match s {
|
21 | 45 | | ^ pattern `&[false, .., true]` not covered
|
22 | 46 | |
|
23 | 47 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
24 | 48 |
|
25 |
| -error[E0004]: non-exhaustive patterns: `&[false, _, _]` not covered |
26 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:30:11 |
27 |
| - | |
28 |
| -LL | match s3 { |
29 |
| - | ^^ pattern `&[false, _, _]` not covered |
30 |
| - | |
31 |
| - = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms |
32 |
| - |
33 | 49 | error[E0004]: non-exhaustive patterns: `&[_, ..]` not covered
|
34 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:34:11 |
| 50 | + --> $DIR/slice-patterns-exhaustiveness.rs:44:11 |
35 | 51 | |
|
36 | 52 | LL | match s {
|
37 | 53 | | ^ pattern `&[_, ..]` not covered
|
38 | 54 | |
|
39 | 55 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
40 | 56 |
|
41 | 57 | error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered
|
42 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:38:11 |
| 58 | + --> $DIR/slice-patterns-exhaustiveness.rs:48:11 |
43 | 59 | |
|
44 | 60 | LL | match s {
|
45 | 61 | | ^ pattern `&[_, _, ..]` not covered
|
46 | 62 | |
|
47 | 63 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
48 | 64 |
|
49 | 65 | error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
|
50 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:43:11 |
| 66 | + --> $DIR/slice-patterns-exhaustiveness.rs:53:11 |
51 | 67 | |
|
52 | 68 | LL | match s {
|
53 | 69 | | ^ pattern `&[false, ..]` not covered
|
54 | 70 | |
|
55 | 71 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
56 | 72 |
|
57 | 73 | error[E0004]: non-exhaustive patterns: `&[false, _, ..]` not covered
|
58 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:48:11 |
| 74 | + --> $DIR/slice-patterns-exhaustiveness.rs:58:11 |
59 | 75 | |
|
60 | 76 | LL | match s {
|
61 | 77 | | ^ pattern `&[false, _, ..]` not covered
|
62 | 78 | |
|
63 | 79 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
64 | 80 |
|
65 | 81 | error[E0004]: non-exhaustive patterns: `&[_, .., false]` not covered
|
66 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:54:11 |
| 82 | + --> $DIR/slice-patterns-exhaustiveness.rs:64:11 |
67 | 83 | |
|
68 | 84 | LL | match s {
|
69 | 85 | | ^ pattern `&[_, .., false]` not covered
|
70 | 86 | |
|
71 | 87 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
72 | 88 |
|
73 | 89 | error[E0004]: non-exhaustive patterns: `&[_, _, .., true]` not covered
|
74 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:61:11 |
| 90 | + --> $DIR/slice-patterns-exhaustiveness.rs:71:11 |
75 | 91 | |
|
76 | 92 | LL | match s {
|
77 | 93 | | ^ pattern `&[_, _, .., true]` not covered
|
78 | 94 | |
|
79 | 95 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
80 | 96 |
|
81 | 97 | error[E0004]: non-exhaustive patterns: `&[true, _, .., _]` not covered
|
82 |
| - --> $DIR/slice-patterns-exhaustiveness.rs:68:11 |
| 98 | + --> $DIR/slice-patterns-exhaustiveness.rs:78:11 |
83 | 99 | |
|
84 | 100 | LL | match s {
|
85 | 101 | | ^ pattern `&[true, _, .., _]` not covered
|
86 | 102 | |
|
87 | 103 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
88 | 104 |
|
89 |
| -error: aborting due to 11 previous errors |
| 105 | +error: aborting due to 13 previous errors |
90 | 106 |
|
91 | 107 | For more information about this error, try `rustc --explain E0004`.
|
0 commit comments