Function rustc_codegen_llvm::debuginfo::metadata::describe_enum_variant [−][src]
fn describe_enum_variant<'ll, 'tcx>(
cx: &CodegenCx<'ll, 'tcx>,
layout: TyAndLayout<'tcx>,
variant: VariantInfo<'_, 'tcx>,
containing_scope: &'ll DIScope,
span: Span
) -> (&'ll DICompositeType, MemberDescriptionFactory<'ll, 'tcx>)
Expand description
Returns a tuple of (1) type_metadata_stub
of the variant, (2) a
MemberDescriptionFactory
for producing the descriptions of the
fields of the variant. This is a rudimentary version of a full
RecursiveTypeDescription
.