fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.3 KiB40 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:12: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:19:9
15   |
16LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
17   |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound
18
19error[E0030]: lower range bound must be less than or equal to upper
20  --> $DIR/match-range-fail-2.rs:5:9
21   |
22LL |         6 ..= 1 => { }
23   |         ^ lower bound larger than upper bound
24
25error[E0579]: lower range bound must be less than upper
26  --> $DIR/match-range-fail-2.rs:12:9
27   |
28LL |         0 .. 0 => { }
29   |         ^
30
31error[E0030]: lower range bound must be less than or equal to upper
32  --> $DIR/match-range-fail-2.rs:19:9
33   |
34LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
35   |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound
36
37error: aborting due to 6 previous errors
38
39Some errors have detailed explanations: E0030, E0579.
40For more information about an error, try `rustc --explain E0030`.