about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/debuginfo/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs
index f0b78e5d7c6..79d76925df9 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,
         );