Support debuginfo for assoc const bindings

This commit is contained in:
León Orell Valerian Liehr 2026-01-20 22:14:41 +01:00
parent 63c439fe18
commit fe61cd6fa3

View file

@ -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,