I'm trying to compile rustc using a RUSTC_WRAPPER, to log compiler calls and other stuff.
However, while building rustc (rustc_lint, to be precise) I get errors like "used diagnostic code E0516 not registered".
Can it be that I'm somehow using the wrong rustc version to compile rustc?
Maybe rustc also uses
RUSTC_WRAPPER, thus causing the rustc specific wrapper not get executed
Mmm maybe, but then it should just execute what rustc put in
RUSTC_WRAPPER, without a compiler error... I'll check
I found it: rustfmt changed the order of modules, thus
mod error_codes was no longer the first one