about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2021-08-02 09:56:05 +0200
committerlcnr <rust@lcnr.de>2021-08-26 11:14:31 +0200
commitf3996f6a88c7a4f24b673809aa50897fb2615691 (patch)
tree338ebd47f1013c9f58fe5aef757f01ba096401a3 /compiler/rustc_codegen_llvm/src
parentbc0156baceed60a4dbfd063554e66bc69b3b0bd4 (diff)
downloadrust-f3996f6a88c7a4f24b673809aa50897fb2615691.tar.gz
rust-f3996f6a88c7a4f24b673809aa50897fb2615691.zip
review
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
index 2e8a9604017..914376d58dd 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
@@ -499,7 +499,7 @@ impl DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> {
                         ty::Adt(def, ..) if !def.is_box() => {
                             // Again, only create type information if full debuginfo is enabled
                             if cx.sess().opts.debuginfo == DebugInfo::Full
-                                && !impl_self_ty.needs_subst(cx.tcx)
+                                && !impl_self_ty.definitely_needs_subst(cx.tcx)
                             {
                                 Some(type_metadata(cx, impl_self_ty, rustc_span::DUMMY_SP))
                             } else {