Adjust test for 32 bit targets
This commit is contained in:
parent
50d3783b95
commit
5f599bb490
@ -9,7 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
fn main() {
|
||||
match 40u64 {
|
||||
let n: Int = 40;
|
||||
match n {
|
||||
0...10 => {},
|
||||
10...BAR => {}, //~ ERROR lower range bound must be less than or equal to upper
|
||||
_ => {},
|
||||
|
@ -1,5 +1,5 @@
|
||||
error[E0030]: lower range bound must be less than or equal to upper
|
||||
--> $DIR/ref_to_int_match.rs:14:9
|
||||
--> $DIR/ref_to_int_match.rs:15:9
|
||||
|
|
||||
LL | 10...BAR => {}, //~ ERROR lower range bound must be less than or equal to upper
|
||||
| ^^ lower bound larger than upper bound
|
||||
|
Loading…
Reference in New Issue
Block a user