From 85b1c67910dbeede8aabb16bc0c1c09a2fefe8ab Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Mon, 29 Mar 2021 14:22:01 +0000 Subject: [PATCH] Limit test to 64 bit systems to keep the sizes in the diagnostics stable --- src/test/ui/async-await/large_moves.rs | 1 + src/test/ui/async-await/large_moves.stderr | 8 ++++---- 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 612433f26789e..4fac046beef62 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 476f5875beb3b..8c47ec0ed9d38 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