we use an Error struct in rust-diagnostics.h https://github.com/Rust-GCC/gccrs/blob/5406b633a1f5e6e3ae8da02589adf4ea003dec12/gcc/rust/rust-diagnostics.h#L133 This does not have the ability to store an Error code or Rich location so we cannot emit error codes for parser errors or expansion errors