diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-09-20 00:39:10 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-09-20 10:02:14 -0700 |
| commit | 325af25c9441ecffd0fc2fb7d5f324fe6224fe7c (patch) | |
| tree | f9ce7346234846bea84d75827b27c3e9d41014c5 /tests/ui/layout | |
| parent | 28628f37435e8899d5d0730fc1fb5aa7345a5e31 (diff) | |
| download | rust-325af25c9441ecffd0fc2fb7d5f324fe6224fe7c.tar.gz rust-325af25c9441ecffd0fc2fb7d5f324fe6224fe7c.zip | |
TL note: current means target
Diffstat (limited to 'tests/ui/layout')
| -rw-r--r-- | tests/ui/layout/size-of-val-raw-too-big.rs | 2 | ||||
| -rw-r--r-- | tests/ui/layout/size-of-val-raw-too-big.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/layout/too-big-with-padding.rs | 2 | ||||
| -rw-r--r-- | tests/ui/layout/too-big-with-padding.stderr | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/layout/size-of-val-raw-too-big.rs b/tests/ui/layout/size-of-val-raw-too-big.rs index 8d82c78d953..dfca6d6eb76 100644 --- a/tests/ui/layout/size-of-val-raw-too-big.rs +++ b/tests/ui/layout/size-of-val-raw-too-big.rs @@ -1,7 +1,7 @@ //@ build-fail //@ compile-flags: --crate-type lib //@ only-32bit Layout computation rejects this layout for different reasons on 64-bit. -//@ error-pattern: too big for the current architecture +//@ error-pattern: too big for the target architecture #![feature(core_intrinsics)] #![allow(internal_features)] diff --git a/tests/ui/layout/size-of-val-raw-too-big.stderr b/tests/ui/layout/size-of-val-raw-too-big.stderr index aa9abd644fa..886bba9ec9d 100644 --- a/tests/ui/layout/size-of-val-raw-too-big.stderr +++ b/tests/ui/layout/size-of-val-raw-too-big.stderr @@ -1,4 +1,4 @@ -error: values of the type `Example` are too big for the current architecture +error: values of the type `Example` are too big for the target architecture error: aborting due to 1 previous error diff --git a/tests/ui/layout/too-big-with-padding.rs b/tests/ui/layout/too-big-with-padding.rs index 76703100145..8423ad2e1d6 100644 --- a/tests/ui/layout/too-big-with-padding.rs +++ b/tests/ui/layout/too-big-with-padding.rs @@ -10,7 +10,7 @@ #[repr(C, align(2))] pub struct Example([u8; 0x7fffffff]); -pub fn lib(_x: Example) {} //~ERROR: too big for the current architecture +pub fn lib(_x: Example) {} //~ERROR: too big for the target architecture #[lang = "sized"] pub trait Sized {} diff --git a/tests/ui/layout/too-big-with-padding.stderr b/tests/ui/layout/too-big-with-padding.stderr index 71309788dac..fc3b4db049a 100644 --- a/tests/ui/layout/too-big-with-padding.stderr +++ b/tests/ui/layout/too-big-with-padding.stderr @@ -1,4 +1,4 @@ -error: values of the type `Example` are too big for the current architecture +error: values of the type `Example` are too big for the target architecture --> $DIR/too-big-with-padding.rs:13:1 | LL | pub fn lib(_x: Example) {} |
