Cleanup errors handlers even more A sequel to #118587. r? `@compiler-errors`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.