about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2021-03-29 14:22:01 +0000
committerFelix S. Klock II <pnkfelix@pnkfx.org>2021-04-20 09:30:28 -0400
commit85b1c67910dbeede8aabb16bc0c1c09a2fefe8ab (patch)
treee45c26a520c7dfd21828f33ebc97261517641d64 /src/test
parent6e988c061330a53ea6826aee2fa2c057202aa1c4 (diff)
downloadrust-85b1c67910dbeede8aabb16bc0c1c09a2fefe8ab.tar.gz
rust-85b1c67910dbeede8aabb16bc0c1c09a2fefe8ab.zip
Limit test to 64 bit systems to keep the sizes in the diagnostics stable
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/async-await/large_moves.rs1
-rw-r--r--src/test/ui/async-await/large_moves.stderr8
2 files changed, 5 insertions, 4 deletions
diff --git a/src/test/ui/async-await/large_moves.rs b/src/test/ui/async-await/large_moves.rs
index 612433f2678..4fac046beef 100644
--- a/src/test/ui/async-await/large_moves.rs
+++ b/src/test/ui/async-await/large_moves.rs
@@ -2,6 +2,7 @@
 #![feature(large_assignments)]
 #![move_size_limit = "1000"]
 // build-fail
+// only-x86_64
 
 // edition:2018
 
diff --git a/src/test/ui/async-await/large_moves.stderr b/src/test/ui/async-await/large_moves.stderr
index 476f5875beb..8c47ec0ed9d 100644
--- a/src/test/ui/async-await/large_moves.stderr
+++ b/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 {
    |  _____________^
@@ -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