Limit test to 64 bit systems to keep the sizes in the diagnostics stable
This commit is contained in:
parent
6e988c0613
commit
85b1c67910
2 changed files with 5 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
#![feature(large_assignments)]
|
||||
#![move_size_limit = "1000"]
|
||||
// build-fail
|
||||
// only-x86_64
|
||||
|
||||
// edition:2018
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error: moving 10024 bytes
|
||||
--> $DIR/large_moves.rs:9:13
|
||||
--> $DIR/large_moves.rs:10:13
|
||||
|
|
||||
LL | let x = async {
|
||||
| _____________^
|
||||
|
@ -17,19 +17,19 @@ LL | #![deny(large_assignments)]
|
|||
| ^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: moving 10024 bytes
|
||||
--> $DIR/large_moves.rs:15:14
|
||||
--> $DIR/large_moves.rs:16:14
|
||||
|
|
||||
LL | let z = (x, 42);
|
||||
| ^ value moved from here
|
||||
|
||||
error: moving 10024 bytes
|
||||
--> $DIR/large_moves.rs:15:13
|
||||
--> $DIR/large_moves.rs:16:13
|
||||
|
|
||||
LL | let z = (x, 42);
|
||||
| ^^^^^^^ value moved from here
|
||||
|
||||
error: moving 10024 bytes
|
||||
--> $DIR/large_moves.rs:17:13
|
||||
--> $DIR/large_moves.rs:18:13
|
||||
|
|
||||
LL | let a = z.0;
|
||||
| ^^^ value moved from here
|
||||
|
|
Loading…
Add table
Reference in a new issue