1 error[E0004]: non-exhaustive patterns: `&[false, _]` not covered
2 --> $DIR/slice-patterns-exhaustiveness.rs:8:11
5 | ^^ pattern `&[false, _]` not covered
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8 = note: the matched value is of type `&[bool; 2]`
10 error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
11 --> $DIR/slice-patterns-exhaustiveness.rs:12:11
14 | ^^ pattern `&[false, ..]` not covered
16 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
17 = note: the matched value is of type `&[bool; 3]`
19 error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
20 --> $DIR/slice-patterns-exhaustiveness.rs:16:11
23 | ^^^ pattern `&[false, ..]` not covered
25 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
26 = note: the matched value is of type `&[bool; 10]`
28 error[E0004]: non-exhaustive patterns: `&[false, true]` not covered
29 --> $DIR/slice-patterns-exhaustiveness.rs:25:11
32 | ^^ pattern `&[false, true]` not covered
34 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
35 = note: the matched value is of type `&[bool; 2]`
37 error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
38 --> $DIR/slice-patterns-exhaustiveness.rs:30:11
41 | ^^ pattern `&[false, .., true]` not covered
43 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
44 = note: the matched value is of type `&[bool; 3]`
46 error[E0004]: non-exhaustive patterns: `&[false, .., true]` not covered
47 --> $DIR/slice-patterns-exhaustiveness.rs:35:11
50 | ^ pattern `&[false, .., true]` not covered
52 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
53 = note: the matched value is of type `&[bool]`
55 error[E0004]: non-exhaustive patterns: `&[_, ..]` not covered
56 --> $DIR/slice-patterns-exhaustiveness.rs:42:11
59 | ^ pattern `&[_, ..]` not covered
61 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
62 = note: the matched value is of type `&[bool]`
64 error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered
65 --> $DIR/slice-patterns-exhaustiveness.rs:46:11
68 | ^ pattern `&[_, _, ..]` not covered
70 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
71 = note: the matched value is of type `&[bool]`
73 error[E0004]: non-exhaustive patterns: `&[false, ..]` not covered
74 --> $DIR/slice-patterns-exhaustiveness.rs:51:11
77 | ^ pattern `&[false, ..]` not covered
79 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
80 = note: the matched value is of type `&[bool]`
82 error[E0004]: non-exhaustive patterns: `&[false, _, ..]` not covered
83 --> $DIR/slice-patterns-exhaustiveness.rs:56:11
86 | ^ pattern `&[false, _, ..]` not covered
88 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
89 = note: the matched value is of type `&[bool]`
91 error[E0004]: non-exhaustive patterns: `&[_, .., false]` not covered
92 --> $DIR/slice-patterns-exhaustiveness.rs:62:11
95 | ^ pattern `&[_, .., false]` not covered
97 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
98 = note: the matched value is of type `&[bool]`
100 error[E0004]: non-exhaustive patterns: `&[_, _, .., true]` not covered
101 --> $DIR/slice-patterns-exhaustiveness.rs:69:11
104 | ^ pattern `&[_, _, .., true]` not covered
106 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
107 = note: the matched value is of type `&[bool]`
109 error[E0004]: non-exhaustive patterns: `&[true, _, .., _]` not covered
110 --> $DIR/slice-patterns-exhaustiveness.rs:76:11
113 | ^ pattern `&[true, _, .., _]` not covered
115 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
116 = note: the matched value is of type `&[bool]`
118 error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
119 --> $DIR/slice-patterns-exhaustiveness.rs:85:11
122 | ^ patterns `&[]` and `&[_, _, ..]` not covered
124 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
125 = note: the matched value is of type `&[bool]`
127 error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
128 --> $DIR/slice-patterns-exhaustiveness.rs:89:11
131 | ^ patterns `&[]` and `&[_, _, ..]` not covered
133 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
134 = note: the matched value is of type `&[bool]`
136 error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
137 --> $DIR/slice-patterns-exhaustiveness.rs:93:11
140 | ^ patterns `&[]` and `&[_, _, ..]` not covered
142 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
143 = note: the matched value is of type `&[bool]`
145 error[E0004]: non-exhaustive patterns: `&[]` and `&[_, _, ..]` not covered
146 --> $DIR/slice-patterns-exhaustiveness.rs:98:11
149 | ^ patterns `&[]` and `&[_, _, ..]` not covered
151 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
152 = note: the matched value is of type `&[bool]`
154 error[E0004]: non-exhaustive patterns: `&[_, _, ..]` not covered
155 --> $DIR/slice-patterns-exhaustiveness.rs:103:11
158 | ^ pattern `&[_, _, ..]` not covered
160 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
161 = note: the matched value is of type `&[bool]`
163 error[E0004]: non-exhaustive patterns: `&[false]` not covered
164 --> $DIR/slice-patterns-exhaustiveness.rs:108:11
167 | ^ pattern `&[false]` not covered
169 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
170 = note: the matched value is of type `&[bool]`
172 error[E0004]: non-exhaustive patterns: `&[false]` not covered
173 --> $DIR/slice-patterns-exhaustiveness.rs:121:11
176 | ^^ pattern `&[false]` not covered
178 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
179 = note: the matched value is of type `&[bool; 1]`
181 error: aborting due to 20 previous errors
183 For more information about this error, try `rustc --explain E0004`.