reuse rustc_errors for compiler_base. note: [WIP] Do not use it.