
{# Mirror conversions stay unconditional — see rust_mirror_enum_attribute.jinja for rationale. #}
#[allow(unreachable_patterns)]
impl From<&{{ name }}> for {{ core_path }} {
    fn from(m: &{{ name }}) -> Self {
        match m {
