diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs index f0b78e5d7c674..79d76925df9f6 100644 --- a/src/debuginfo/mod.rs +++ b/src/debuginfo/mod.rs @@ -210,7 +210,6 @@ impl DebugContext { type_names::push_generic_params( tcx, tcx.normalize_erasing_regions(ty::ParamEnv::reveal_all(), args), - enclosing_fn_def_id, &mut name, );