Function rustc_builtin_macros::deriving::default::extract_default_variant
source · fn extract_default_variant<'a>(
cx: &mut ExtCtxt<'_>,
enum_def: &'a EnumDef,
trait_span: Span
) -> Result<&'a Variant, ErrorGuaranteed>