@@ -148,46 +148,46 @@ LL | V5,
148
148
= note: the matched value is of type `NonEmptyEnum5`
149
149
= help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or multiple match arms
150
150
151
- error[E0004]: non-exhaustive patterns: `_ ` not covered
151
+ error[E0004]: non-exhaustive patterns: `0_u8..=u8::MAX ` not covered
152
152
--> $DIR/empty-match.rs:58:24
153
153
|
154
154
LL | match_guarded_arm!(0u8);
155
- | ^^^ pattern `_ ` not covered
155
+ | ^^^ pattern `0_u8..=u8::MAX ` not covered
156
156
|
157
157
= note: the matched value is of type `u8`
158
158
= note: match arms with guards don't count towards exhaustivity
159
159
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
160
160
|
161
161
LL ~ _ if false => {},
162
- LL + _ => todo!()
162
+ LL + 0_u8..=u8::MAX => todo!()
163
163
|
164
164
165
- error[E0004]: non-exhaustive patterns: `_ ` not covered
165
+ error[E0004]: non-exhaustive patterns: `i8::MIN..=i8::MAX ` not covered
166
166
--> $DIR/empty-match.rs:59:24
167
167
|
168
168
LL | match_guarded_arm!(0i8);
169
- | ^^^ pattern `_ ` not covered
169
+ | ^^^ pattern `i8::MIN..=i8::MAX ` not covered
170
170
|
171
171
= note: the matched value is of type `i8`
172
172
= note: match arms with guards don't count towards exhaustivity
173
173
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
174
174
|
175
175
LL ~ _ if false => {},
176
- LL + _ => todo!()
176
+ LL + i8::MIN..=i8::MAX => todo!()
177
177
|
178
178
179
- error[E0004]: non-exhaustive patterns: `_ ` not covered
179
+ error[E0004]: non-exhaustive patterns: `0_usize.. ` not covered
180
180
--> $DIR/empty-match.rs:60:24
181
181
|
182
182
LL | match_guarded_arm!(0usize);
183
- | ^^^^^^ pattern `_ ` not covered
183
+ | ^^^^^^ pattern `0_usize.. ` not covered
184
184
|
185
185
= note: the matched value is of type `usize`
186
186
= note: match arms with guards don't count towards exhaustivity
187
187
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
188
188
|
189
189
LL ~ _ if false => {},
190
- LL + _ => todo!()
190
+ LL + 0_usize.. => todo!()
191
191
|
192
192
193
193
error[E0004]: non-exhaustive patterns: `_` not covered
0 commit comments