summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-range-fail-2.stderr
blob: 7a0852d7e6ce68137c17b229767d84b09d9aacff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
error[E0030]: lower range bound must be less than or equal to upper
  --> $DIR/match-range-fail-2.rs:5:9
   |
LL |         6 ..= 1 => { }
   |         ^ lower bound larger than upper bound

error[E0579]: lower range bound must be less than upper
  --> $DIR/match-range-fail-2.rs:12:9
   |
LL |         0 .. 0 => { }
   |         ^

error[E0030]: lower range bound must be less than or equal to upper
  --> $DIR/match-range-fail-2.rs:19:9
   |
LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
   |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound

error[E0030]: lower range bound must be less than or equal to upper
  --> $DIR/match-range-fail-2.rs:5:9
   |
LL |         6 ..= 1 => { }
   |         ^ lower bound larger than upper bound

error[E0579]: lower range bound must be less than upper
  --> $DIR/match-range-fail-2.rs:12:9
   |
LL |         0 .. 0 => { }
   |         ^

error[E0030]: lower range bound must be less than or equal to upper
  --> $DIR/match-range-fail-2.rs:19:9
   |
LL |         0xFFFF_FFFF_FFFF_FFFF ..= 1 => { }
   |         ^^^^^^^^^^^^^^^^^^^^^ lower bound larger than upper bound

error: aborting due to 6 previous errors

Some errors have detailed explanations: E0030, E0579.
For more information about an error, try `rustc --explain E0030`.