Framework for embedding localizations into Rust types

Emit shim implementation on macro error

This uses proc_macro_error2::set_dummy to correctly return the derive input stream and a shim implementation (if possible) when encountering an error, as opposed to the previous implementation which would generate the shim but never return the token stream, leading to the derive input getting consumed by the macro and causing unnecessary errors.

Created by  finchie  on September 8, 2025
TFKGE6LRNSG2N5Z3LIITYG7WH2VOLWQO7AESTWRWV52BFHESU26AC
Change contents