diff options
| author | Ralf Jung <post@ralfj.de> | 2020-06-15 19:12:14 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-06-15 19:12:14 +0200 |
| commit | 10c8d2afb8b90e03e2d1563df021146150338c45 (patch) | |
| tree | 7f1dcae2cbf3bb9c4293d56589df2c97c7be2142 | |
| parent | 7a6d03c2699787644b44f7bc3e8252d1508880b8 (diff) | |
| download | rust-10c8d2afb8b90e03e2d1563df021146150338c45.tar.gz rust-10c8d2afb8b90e03e2d1563df021146150338c45.zip | |
add FIXME to EnumTagInfo
| -rw-r--r-- | src/librustc_codegen_llvm/debuginfo/metadata.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs index 01f630a31a1..b7e7489cba0 100644 --- a/src/librustc_codegen_llvm/debuginfo/metadata.rs +++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs @@ -1637,6 +1637,9 @@ impl VariantMemberDescriptionFactory<'ll, 'tcx> { } } +// FIXME: terminology here should be aligned with `abi::TagEncoding`. +// `OptimizedTag` is `TagEncoding::Niche`, `RegularTag` is `TagEncoding::Direct`. +// `NoTag` should be removed; users should use `Option<EnumTagInfo>` instead. #[derive(Copy, Clone)] enum EnumTagInfo<'ll> { RegularTag { tag_field: Field, tag_type_metadata: &'ll DIType }, |
