about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo/metadata
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-03-17 16:23:27 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-03-17 16:32:21 +0000
commit6adc2c1fd6ecde7bf83c8b8fbc71f402ced87054 (patch)
treea24ef378e04b0de220b4828f465aa74708ccd95d /compiler/rustc_codegen_llvm/src/debuginfo/metadata
parentb4acf7a51eca60082398841b6d3d8b2997802767 (diff)
downloadrust-6adc2c1fd6ecde7bf83c8b8fbc71f402ced87054.tar.gz
rust-6adc2c1fd6ecde7bf83c8b8fbc71f402ced87054.zip
Deduplicate template parameter creation
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/metadata')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs
index 9f6a5cc89e0..6f1c197b3d9 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs
@@ -363,6 +363,7 @@ fn build_coroutine_variant_struct_type_di_node<'ll, 'tcx>(
 
             state_specific_fields.into_iter().chain(common_fields).collect()
         },
+        // FIXME: this is a no-op. `build_generic_type_param_di_nodes` only works for Adts.
         |cx| build_generic_type_param_di_nodes(cx, coroutine_type_and_layout.ty),
     )
     .di_node