diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-18 13:40:58 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-20 19:55:29 -0800 |
| commit | efff15afeabedacc2798d214dac404061df1555d (patch) | |
| tree | 673c577e1a9a0fd22e930f3826e6651fe789c0b5 /compiler/rustc_ty_utils/src/layout.rs | |
| parent | a18bd8acfc32dbfbbe150cd52eecf24e67fb69b6 (diff) | |
| download | rust-efff15afeabedacc2798d214dac404061df1555d.tar.gz rust-efff15afeabedacc2798d214dac404061df1555d.zip | |
compiler: Align::max_for_offset -> Align::max_aligned_factor
No functional changes.
Diffstat (limited to 'compiler/rustc_ty_utils/src/layout.rs')
| -rw-r--r-- | compiler/rustc_ty_utils/src/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/layout.rs b/compiler/rustc_ty_utils/src/layout.rs index b6a14d147ca..e95c95ed6c5 100644 --- a/compiler/rustc_ty_utils/src/layout.rs +++ b/compiler/rustc_ty_utils/src/layout.rs @@ -534,7 +534,7 @@ fn layout_of_uncached<'tcx>( ( BackendRepr::Memory { sized: true }, AbiAndPrefAlign { - abi: Align::max_for_offset(size), + abi: Align::max_aligned_factor(size), pref: dl.vector_align(size).pref, }, ) |
