Skip to content

Commit 10c8d2a

Browse files
committed
add FIXME to EnumTagInfo
1 parent 7a6d03c commit 10c8d2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_codegen_llvm/debuginfo/metadata.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,9 @@ impl VariantMemberDescriptionFactory<'ll, 'tcx> {
16371637
}
16381638
}
16391639

1640+
// FIXME: terminology here should be aligned with `abi::TagEncoding`.
1641+
// `OptimizedTag` is `TagEncoding::Niche`, `RegularTag` is `TagEncoding::Direct`.
1642+
// `NoTag` should be removed; users should use `Option<EnumTagInfo>` instead.
16401643
#[derive(Copy, Clone)]
16411644
enum EnumTagInfo<'ll> {
16421645
RegularTag { tag_field: Field, tag_type_metadata: &'ll DIType },

0 commit comments

Comments
 (0)