review
This commit is contained in:
parent
bc0156bace
commit
f3996f6a88
21 changed files with 62 additions and 40 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue