diff options
| author | Michael Goulet <michael@errs.io> | 2024-08-08 11:56:12 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-08 12:15:16 -0400 |
| commit | b9164319769c52bd98607d80b4c7c53e06bf6887 (patch) | |
| tree | 9cf7baa0c0a937f1c0793fee95cae209cccb122b /compiler/rustc_const_eval/src/util/alignment.rs | |
| parent | f81549c9ca465e87ab6902dee8cdb4989ee50077 (diff) | |
| download | rust-b9164319769c52bd98607d80b4c7c53e06bf6887.tar.gz rust-b9164319769c52bd98607d80b4c7c53e06bf6887.zip | |
Rename struct_tail_erasing_lifetimes to struct_tail_for_codegen
Diffstat (limited to 'compiler/rustc_const_eval/src/util/alignment.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/util/alignment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/util/alignment.rs b/compiler/rustc_const_eval/src/util/alignment.rs index a8ef37432bb..5ad55968398 100644 --- a/compiler/rustc_const_eval/src/util/alignment.rs +++ b/compiler/rustc_const_eval/src/util/alignment.rs @@ -22,7 +22,7 @@ where }; let ty = place.ty(local_decls, tcx).ty; - let unsized_tail = || tcx.struct_tail_erasing_lifetimes(ty, param_env); + let unsized_tail = || tcx.struct_tail_for_codegen(ty, param_env); match tcx.layout_of(param_env.and(ty)) { Ok(layout) if layout.align.abi <= pack |
