@@ -394,17 +394,17 @@ help: ensure that all possible cases are being handled by adding a match arm wit
394394LL | match $s { $($t)+ => {}, u128::MAX => todo!() }
395395 | ++++++++++++++++++++++
396396
397- error[E0004]: non-exhaustive patterns: `340282366920938463463374607431768211454_u128..=u128::MAX ` not covered
397+ error[E0004]: non-exhaustive patterns: `340282366920938463463374607431768211454_u128..` not covered
398398 --> $DIR/half-open-range-pats-exhaustive-fail.rs:93:12
399399 |
400400LL | m!(0, ..ALMOST_MAX);
401- | ^ pattern `340282366920938463463374607431768211454_u128..=u128::MAX ` not covered
401+ | ^ pattern `340282366920938463463374607431768211454_u128..` not covered
402402 |
403403 = note: the matched value is of type `u128`
404404help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
405405 |
406- LL | match $s { $($t)+ => {}, 340282366920938463463374607431768211454_u128..=u128::MAX => todo!() }
407- | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
406+ LL | match $s { $($t)+ => {}, 340282366920938463463374607431768211454_u128.. => todo!() }
407+ | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
408408
409409error[E0004]: non-exhaustive patterns: `0_u128` not covered
410410 --> $DIR/half-open-range-pats-exhaustive-fail.rs:94:12
@@ -754,17 +754,17 @@ help: ensure that all possible cases are being handled by adding a match arm wit
754754LL | match $s { $($t)+ => {}, i128::MAX => todo!() }
755755 | ++++++++++++++++++++++
756756
757- error[E0004]: non-exhaustive patterns: `170141183460469231731687303715884105726_i128..=i128::MAX ` not covered
757+ error[E0004]: non-exhaustive patterns: `170141183460469231731687303715884105726_i128..` not covered
758758 --> $DIR/half-open-range-pats-exhaustive-fail.rs:161:12
759759 |
760760LL | m!(0, ..ALMOST_MAX);
761- | ^ pattern `170141183460469231731687303715884105726_i128..=i128::MAX ` not covered
761+ | ^ pattern `170141183460469231731687303715884105726_i128..` not covered
762762 |
763763 = note: the matched value is of type `i128`
764764help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
765765 |
766- LL | match $s { $($t)+ => {}, 170141183460469231731687303715884105726_i128..=i128::MAX => todo!() }
767- | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
766+ LL | match $s { $($t)+ => {}, 170141183460469231731687303715884105726_i128.. => todo!() }
767+ | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
768768
769769error[E0004]: non-exhaustive patterns: `i128::MIN` not covered
770770 --> $DIR/half-open-range-pats-exhaustive-fail.rs:162:12
0 commit comments