It's complaining about non-local impls and elided lifetimes that have names. I don't recall why I thought I needed these "dummy" enclosing scopes, and they are most likely cargo-cult copypasta from some other derive implementation that I used as inspiration.