Skip to content

Commit 85b1c67

Browse files
oli-obkpnkfelix
authored andcommitted
Limit test to 64 bit systems to keep the sizes in the diagnostics stable
1 parent 6e988c0 commit 85b1c67

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/test/ui/async-await/large_moves.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![feature(large_assignments)]
33
#![move_size_limit = "1000"]
44
// build-fail
5+
// only-x86_64
56

67
// edition:2018
78

src/test/ui/async-await/large_moves.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: moving 10024 bytes
2-
--> $DIR/large_moves.rs:9:13
2+
--> $DIR/large_moves.rs:10:13
33
|
44
LL | let x = async {
55
| _____________^
@@ -17,19 +17,19 @@ LL | #![deny(large_assignments)]
1717
| ^^^^^^^^^^^^^^^^^
1818

1919
error: moving 10024 bytes
20-
--> $DIR/large_moves.rs:15:14
20+
--> $DIR/large_moves.rs:16:14
2121
|
2222
LL | let z = (x, 42);
2323
| ^ value moved from here
2424

2525
error: moving 10024 bytes
26-
--> $DIR/large_moves.rs:15:13
26+
--> $DIR/large_moves.rs:16:13
2727
|
2828
LL | let z = (x, 42);
2929
| ^^^^^^^ value moved from here
3030

3131
error: moving 10024 bytes
32-
--> $DIR/large_moves.rs:17:13
32+
--> $DIR/large_moves.rs:18:13
3333
|
3434
LL | let a = z.0;
3535
| ^^^ value moved from here

0 commit comments

Comments
 (0)