about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-09-20 00:39:10 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-09-20 10:02:14 -0700
commit325af25c9441ecffd0fc2fb7d5f324fe6224fe7c (patch)
treef9ce7346234846bea84d75827b27c3e9d41014c5 /compiler/rustc_middle/src/ty/layout.rs
parent28628f37435e8899d5d0730fc1fb5aa7345a5e31 (diff)
downloadrust-325af25c9441ecffd0fc2fb7d5f324fe6224fe7c.tar.gz
rust-325af25c9441ecffd0fc2fb7d5f324fe6224fe7c.zip
TL note: current means target
Diffstat (limited to 'compiler/rustc_middle/src/ty/layout.rs')
-rw-r--r--compiler/rustc_middle/src/ty/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/layout.rs b/compiler/rustc_middle/src/ty/layout.rs
index 877c54c5649..9ed5dc87be4 100644
--- a/compiler/rustc_middle/src/ty/layout.rs
+++ b/compiler/rustc_middle/src/ty/layout.rs
@@ -264,7 +264,7 @@ impl<'tcx> fmt::Display for LayoutError<'tcx> {
         match *self {
             LayoutError::Unknown(ty) => write!(f, "the type `{ty}` has an unknown layout"),
             LayoutError::SizeOverflow(ty) => {
-                write!(f, "values of the type `{ty}` are too big for the current architecture")
+                write!(f, "values of the type `{ty}` are too big for the target architecture")
             }
             LayoutError::NormalizationFailure(t, e) => write!(
                 f,