We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85f0138 commit 397ae3cCopy full SHA for 397ae3c
compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs
@@ -213,8 +213,7 @@ pub(super) fn build_enum_type_di_node<'ll, 'tcx>(
213
|cx, enum_type_di_node| {
214
match enum_type_and_layout.variants {
215
Variants::Empty => {
216
- // Uninhabited enums have Variants::Single. We don't generate
217
- // any members for them.
+ // We don't generate any members for uninhabited types.
218
return smallvec![];
219
}
220
Variants::Single { index: variant_index } => build_single_variant_union_fields(
0 commit comments