rustc_builtin_macros::deriving::default

Function validate_default_attribute

source
fn validate_default_attribute(
    cx: &ExtCtxt<'_>,
    default_variant: &Variant,
) -> Result<(), ErrorGuaranteed>