fn should_allow_deprecated(input: &DeriveInput) -> boolExpand description
Determine if an #[allow(deprecated)] should be added to the derived impl.
This should happen if the derive input or an enum variant it contains has one of:
#[deprecated]#[allow(deprecated)]