]> git.lizzy.rs Git - rust.git/blob - tests/ui/match/match-range-fail-2.stderr
Rollup merge of #107074 - lcnr:validate-dont-skip-opaque, r=compiler-errors
[rust.git] / tests / ui / match / match-range-fail-2.stderr
1 error[E0030]: lower range bound must be less than or equal to upper
2   --> $DIR/match-range-fail-2.rs:5:9
3    |
4 LL |         6 ..= 1 => { }
5    |         ^ lower bound larger than upper bound
6
7 error[E0579]: lower range bound must be less than upper
8   --> $DIR/match-range-fail-2.rs:12:9
9    |
10 LL |         0 .. 0 => { }
11    |         ^
12
13 error[E0030]: lower range bound must be less than or equal to upper
14   --> $DIR/match-range-fail-2.rs:19:9
15    |
16 LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
17    |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound
18
19 error[E0030]: lower range bound must be less than or equal to upper
20   --> $DIR/match-range-fail-2.rs:5:9
21    |
22 LL |         6 ..= 1 => { }
23    |         ^ lower bound larger than upper bound
24
25 error[E0579]: lower range bound must be less than upper
26   --> $DIR/match-range-fail-2.rs:12:9
27    |
28 LL |         0 .. 0 => { }
29    |         ^
30
31 error[E0030]: lower range bound must be less than or equal to upper
32   --> $DIR/match-range-fail-2.rs:19:9
33    |
34 LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
35    |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound
36
37 error: aborting due to 6 previous errors
38
39 Some errors have detailed explanations: E0030, E0579.
40 For more information about an error, try `rustc --explain E0030`.