Support debuginfo for assoc const bindings
This commit is contained in:
parent
63c439fe18
commit
fe61cd6fa3
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ impl DebugContext {
|
|||
let generics = tcx.generics_of(enclosing_fn_def_id);
|
||||
let args = instance.args.truncate_to(tcx, generics);
|
||||
|
||||
type_names::push_generic_params(
|
||||
type_names::push_generic_args(
|
||||
tcx,
|
||||
tcx.normalize_erasing_regions(ty::TypingEnv::fully_monomorphized(), args),
|
||||
&mut name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue