Function rustc::middle::ty::enum_variant_with_id[src]

pub fn enum_variant_with_id(cx: &ctxt, enum_id: DefId, variant_id: DefId) -> Rc<VariantInfo>