Skip to content

Commit

Permalink
Limit test to 64 bit systems to keep the sizes in the diagnostics stable
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk authored and pnkfelix committed Apr 20, 2021
1 parent 6e988c0 commit 85b1c67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/test/ui/async-await/large_moves.rs
Expand Up @@ -2,6 +2,7 @@
#![feature(large_assignments)]
#![move_size_limit = "1000"]
// build-fail
// only-x86_64

// edition:2018

Expand Down
8 changes: 4 additions & 4 deletions src/test/ui/async-await/large_moves.stderr
@@ -1,5 +1,5 @@
error: moving 10024 bytes
--> $DIR/large_moves.rs:9:13
--> $DIR/large_moves.rs:10:13
|
LL | let x = async {
| _____________^
Expand All @@ -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
Expand Down

0 comments on commit 85b1c67

Please sign in to comment.