Function rustc_typeck::collect::convert_variant
source · [−]fn convert_variant(
tcx: TyCtxt<'_>,
variant_did: Option<LocalDefId>,
ctor_did: Option<LocalDefId>,
ident: Ident,
discr: VariantDiscr,
def: &VariantData<'_>,
adt_kind: AdtKind,
parent_did: LocalDefId
) -> VariantDef