compiler: Align::max_for_offset -> Align::max_aligned_factor

No functional changes.
This commit is contained in:
Jubilee Young
2025-02-18 13:40:58 -08:00
parent a18bd8acfc
commit efff15afea
2 changed files with 9 additions and 10 deletions

View File

@@ -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,
},
)