@@ -394,17 +394,17 @@ help: ensure that all possible cases are being handled by adding a match arm wit
394
394
LL | match $s { $($t)+ => {}, u128::MAX => todo!() }
395
395
| ++++++++++++++++++++++
396
396
397
- error[E0004]: non-exhaustive patterns: `340282366920938463463374607431768211454_u128..=u128::MAX ` not covered
397
+ error[E0004]: non-exhaustive patterns: `340282366920938463463374607431768211454_u128..` not covered
398
398
--> $DIR/half-open-range-pats-exhaustive-fail.rs:93:12
399
399
|
400
400
LL | m!(0, ..ALMOST_MAX);
401
- | ^ pattern `340282366920938463463374607431768211454_u128..=u128::MAX ` not covered
401
+ | ^ pattern `340282366920938463463374607431768211454_u128..` not covered
402
402
|
403
403
= note: the matched value is of type `u128`
404
404
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
405
405
|
406
- LL | match $s { $($t)+ => {}, 340282366920938463463374607431768211454_u128..=u128::MAX => todo!() }
407
- | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
406
+ LL | match $s { $($t)+ => {}, 340282366920938463463374607431768211454_u128.. => todo!() }
407
+ | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
408
408
409
409
error[E0004]: non-exhaustive patterns: `0_u128` not covered
410
410
--> $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
754
754
LL | match $s { $($t)+ => {}, i128::MAX => todo!() }
755
755
| ++++++++++++++++++++++
756
756
757
- error[E0004]: non-exhaustive patterns: `170141183460469231731687303715884105726_i128..=i128::MAX ` not covered
757
+ error[E0004]: non-exhaustive patterns: `170141183460469231731687303715884105726_i128..` not covered
758
758
--> $DIR/half-open-range-pats-exhaustive-fail.rs:161:12
759
759
|
760
760
LL | m!(0, ..ALMOST_MAX);
761
- | ^ pattern `170141183460469231731687303715884105726_i128..=i128::MAX ` not covered
761
+ | ^ pattern `170141183460469231731687303715884105726_i128..` not covered
762
762
|
763
763
= note: the matched value is of type `i128`
764
764
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
765
765
|
766
- LL | match $s { $($t)+ => {}, 170141183460469231731687303715884105726_i128..=i128::MAX => todo!() }
767
- | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
766
+ LL | match $s { $($t)+ => {}, 170141183460469231731687303715884105726_i128.. => todo!() }
767
+ | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
768
768
769
769
error[E0004]: non-exhaustive patterns: `i128::MIN` not covered
770
770
--> $DIR/half-open-range-pats-exhaustive-fail.rs:162:12
0 commit comments