about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorBoxy <supbscripter@gmail.com>2023-04-27 07:52:17 +0100
committerBoxy <supbscripter@gmail.com>2023-04-27 08:35:19 +0100
commit842419712a9ed7be166bfdac2d5588356191dabb (patch)
tree0afe598d0f7ac4d14ec023a1235b95e42331a3db /compiler/rustc_codegen_llvm/src
parentf04b8fe0af291a444ecfcf774337966a5cc9d7db (diff)
downloadrust-842419712a9ed7be166bfdac2d5588356191dabb.tar.gz
rust-842419712a9ed7be166bfdac2d5588356191dabb.zip
rename `needs_subst` to `has_param`
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 824cffa28ba..2e9f89f4196 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/mod.rs
@@ -515,7 +515,7 @@ impl<'ll, 'tcx> 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()
+                                && !impl_self_ty.has_param()
                             {
                                 Some(type_di_node(cx, impl_self_ty))
                             } else {