exclude enum from derivable impls fix #7753 changelog: Exclude enum from ``[`derivable_impls`]``
if_then_panic