Skip to content

Commit 5f599bb

Browse files
committed
Adjust test for 32 bit targets
1 parent 50d3783 commit 5f599bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/test/ui/const-eval/ref_to_int_match.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
// except according to those terms.
1010

1111
fn main() {
12-
match 40u64 {
12+
let n: Int = 40;
13+
match n {
1314
0...10 => {},
1415
10...BAR => {}, //~ ERROR lower range bound must be less than or equal to upper
1516
_ => {},

src/test/ui/const-eval/ref_to_int_match.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0030]: lower range bound must be less than or equal to upper
2-
--> $DIR/ref_to_int_match.rs:14:9
2+
--> $DIR/ref_to_int_match.rs:15:9
33
|
44
LL | 10...BAR => {}, //~ ERROR lower range bound must be less than or equal to upper
55
| ^^ lower bound larger than upper bound

0 commit comments

Comments
 (0)