rust/tests/ui/match/match-range-fail-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
741 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0030]: lower range bound must be less than or equal to upper
2024-04-28 00:35:32 +00:00
--> $DIR/match-range-fail-2.rs:3:9
2018-08-08 12:28:26 +00:00
|
LL | 6 ..= 1 => { }
2023-10-11 02:54:21 +00:00
| ^^^^^^^ lower bound larger than upper bound
2018-08-08 12:28:26 +00:00
error[E0579]: lower range bound must be less than upper
2024-04-28 00:35:32 +00:00
--> $DIR/match-range-fail-2.rs:9:9
2018-08-08 12:28:26 +00:00
|
LL | 0 .. 0 => { }
2023-10-11 02:54:21 +00:00
| ^^^^^^
2018-08-08 12:28:26 +00:00
error[E0030]: lower range bound must be less than or equal to upper
2024-04-28 00:35:32 +00:00
--> $DIR/match-range-fail-2.rs:15:9
2018-08-08 12:28:26 +00:00
|
LL | 0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
2023-10-11 02:54:21 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound
2018-08-08 12:28:26 +00:00
2023-02-27 17:43:39 +00:00
error: aborting due to 3 previous errors
2018-08-08 12:28:26 +00:00
Some errors have detailed explanations: E0030, E0579.
2018-08-08 12:28:26 +00:00
For more information about an error, try `rustc --explain E0030`.