forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#127496 - tgross35:f16-f128-pattern-fixme, r=N…
…adrieril Update `f16`/`f128` FIXMEs that needed `(NEG_)INFINITY` Just a small fix to the pattern matching tests now that we can. Also contains a small unrelated comment tweak.
- Loading branch information
Showing
4 changed files
with
53 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 26 additions & 14 deletions
40
tests/ui/half-open-range-patterns/half-open-range-pats-thir-lower-empty.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,93 @@ | ||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:8:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:11:11 | ||
| | ||
LL | m!(0, ..u8::MIN); | ||
| ^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:10:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:13:11 | ||
| | ||
LL | m!(0, ..u16::MIN); | ||
| ^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:12:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:15:11 | ||
| | ||
LL | m!(0, ..u32::MIN); | ||
| ^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:14:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:17:11 | ||
| | ||
LL | m!(0, ..u64::MIN); | ||
| ^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:16:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:19:11 | ||
| | ||
LL | m!(0, ..u128::MIN); | ||
| ^^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:19:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:22:11 | ||
| | ||
LL | m!(0, ..i8::MIN); | ||
| ^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:21:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:24:11 | ||
| | ||
LL | m!(0, ..i16::MIN); | ||
| ^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:23:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:26:11 | ||
| | ||
LL | m!(0, ..i32::MIN); | ||
| ^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:25:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:28:11 | ||
| | ||
LL | m!(0, ..i64::MIN); | ||
| ^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:27:11 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:30:11 | ||
| | ||
LL | m!(0, ..i128::MIN); | ||
| ^^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:31:14 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:33:14 | ||
| | ||
LL | m!(0f16, ..f16::NEG_INFINITY); | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:35:14 | ||
| | ||
LL | m!(0f32, ..f32::NEG_INFINITY); | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:33:14 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:37:14 | ||
| | ||
LL | m!(0f64, ..f64::NEG_INFINITY); | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:36:13 | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:39:15 | ||
| | ||
LL | m!(0f128, ..f128::NEG_INFINITY); | ||
| ^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0579]: lower range bound must be less than upper | ||
--> $DIR/half-open-range-pats-thir-lower-empty.rs:42:13 | ||
| | ||
LL | m!('a', ..'\u{0}'); | ||
| ^^^^^^^^^ | ||
|
||
error: aborting due to 13 previous errors | ||
error: aborting due to 15 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0579`. |