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_codegen_llvm/src/debuginfo/utils.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_codegen_llvm/src/debuginfo/utils.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs b/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs index d51e15d12e2..e542aa96e8a 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs @@ -62,7 +62,7 @@ pub(crate) fn fat_pointer_kind<'ll, 'tcx>( cx: &CodegenCx<'ll, 'tcx>, pointee_ty: Ty<'tcx>, ) -> Option<FatPtrKind> { - let pointee_tail_ty = cx.tcx.struct_tail_erasing_lifetimes(pointee_ty, cx.param_env()); + let pointee_tail_ty = cx.tcx.struct_tail_for_codegen(pointee_ty, cx.param_env()); let layout = cx.layout_of(pointee_tail_ty); trace!( "fat_pointer_kind: {:?} has layout {:?} (is_unsized? {})", |
