diff options
| author | bors <bors@rust-lang.org> | 2024-09-21 16:20:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-21 16:20:10 +0000 |
| commit | 1d68e6dd1deef26c5aeb91aee554edbee8b6d5e2 (patch) | |
| tree | fabeeb3de79ab606a550c87f37a20ccc44d6adb8 /compiler/rustc_middle/src/ty/layout.rs | |
| parent | 28364822410af31bba5c8adac19cbbfcb9b48717 (diff) | |
| parent | cf78f26d5ed5ce32f49fb38cca969d3609599e27 (diff) | |
| download | rust-1d68e6dd1deef26c5aeb91aee554edbee8b6d5e2.tar.gz rust-1d68e6dd1deef26c5aeb91aee554edbee8b6d5e2.zip | |
Auto merge of #127546 - workingjubilee:5-level-paging-exists, r=saethlin
Correct outdated object size limit The comment here about 48 bit addresses being enough was written in 2016 but was made incorrect in 2019 by 5-level paging, and then persisted for another 5 years before being noticed and corrected. The bolding of the "exclusive" part is merely to call attention to something I missed when reading it and doublechecking the math. try-job: i686-msvc try-job: test-various
Diffstat (limited to 'compiler/rustc_middle/src/ty/layout.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/layout.rs | 2 |
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, |
