@@ -11,30 +11,30 @@ LL ~ (0 | 1, 2 | 3) => {},
1111LL + (2_u8..=u8::MAX, _) => todo!()
1212 |
1313
14- error[E0004]: non-exhaustive patterns: `((4_u8..=u8::MAX) )` not covered
14+ error[E0004]: non-exhaustive patterns: `((4_u8..=u8::MAX,), )` not covered
1515 --> $DIR/exhaustiveness-non-exhaustive.rs:9:11
1616 |
1717LL | match ((0u8,),) {
18- | ^^^^^^^^^ pattern `((4_u8..=u8::MAX) )` not covered
18+ | ^^^^^^^^^ pattern `((4_u8..=u8::MAX,), )` not covered
1919 |
2020 = note: the matched value is of type `((u8,),)`
2121help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
2222 |
2323LL ~ ((0 | 1,) | (2 | 3,),) => {},
24- LL + ((4_u8..=u8::MAX) ) => todo!()
24+ LL + ((4_u8..=u8::MAX,), ) => todo!()
2525 |
2626
27- error[E0004]: non-exhaustive patterns: `(Some(2_u8..=u8::MAX))` not covered
27+ error[E0004]: non-exhaustive patterns: `(Some(2_u8..=u8::MAX), )` not covered
2828 --> $DIR/exhaustiveness-non-exhaustive.rs:13:11
2929 |
3030LL | match (Some(0u8),) {
31- | ^^^^^^^^^^^^ pattern `(Some(2_u8..=u8::MAX))` not covered
31+ | ^^^^^^^^^^^^ pattern `(Some(2_u8..=u8::MAX), )` not covered
3232 |
3333 = note: the matched value is of type `(Option<u8>,)`
3434help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
3535 |
3636LL ~ (None | Some(0 | 1),) => {},
37- LL + (Some(2_u8..=u8::MAX)) => todo!()
37+ LL + (Some(2_u8..=u8::MAX), ) => todo!()
3838 |
3939
4040error: aborting due to 3 previous errors
0 commit comments