mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 20:46:49 +00:00
6fb6c19c96
This section of code depends on `rustc_apfloat` rather than our internal types, so this is one potential ICE that we should be able to melt now. This also fixes some missing range and match handling in `rustc_middle`.
82 lines
2.4 KiB
Plaintext
82 lines
2.4 KiB
Plaintext
error[E0579]: lower range bound must be less than upper
|
|
--> $DIR/half-open-range-pats-thir-lower-empty.rs:8: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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
LL | m!('a', ..'\u{0}');
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 13 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0579`.
|