fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
725 B22 linesraw
1error[E0030]: lower range bound must be less than or equal to upper
2  --> $DIR/match-range-fail-2.rs:5:9
3   |
4LL |         6 ..= 1 => { }
5   |         ^ lower bound larger than upper bound
6
7error[E0579]: lower range bound must be less than upper
8  --> $DIR/match-range-fail-2.rs:11:9
9   |
10LL |         0 .. 0 => { }
11   |         ^
12
13error[E0030]: lower range bound must be less than or equal to upper
14  --> $DIR/match-range-fail-2.rs:17:9
15   |
16LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
17   |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound
18
19error: aborting due to 3 previous errors
20
21Some errors have detailed explanations: E0030, E0579.
22For more information about an error, try `rustc --explain E0030`.