diff options
| author | bors <bors@rust-lang.org> | 2023-04-27 09:55:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-27 09:55:37 +0000 |
| commit | 6ce22733b973355573efd1e6294e585460e90e17 (patch) | |
| tree | 7d4b61f63e41d619867b50cac41429e24233381f /compiler/rustc_codegen_llvm/src/debuginfo | |
| parent | 8b8110e1469d459a196f6feb60d82dec48c3cfc2 (diff) | |
| parent | 842419712a9ed7be166bfdac2d5588356191dabb (diff) | |
| download | rust-6ce22733b973355573efd1e6294e585460e90e17.tar.gz rust-6ce22733b973355573efd1e6294e585460e90e17.zip | |
Auto merge of #110882 - BoxyUwU:rename-some-ty-flags, r=compiler-errors
rename `NEEDS_SUBST` and `NEEDS_INFER` implements rust-lang/compiler-team#617
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/mod.rs | 2 |
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 { |
