Rollup merge of #119171 - nnethercote:cleanup-errors-4, r=compiler-errors
Cleanup error handlers: round 4 More `rustc_errors` cleanups. A sequel to #118933. r? `@compiler-errors`
This commit is contained in:
commit
bfda19d5bd
@ -179,7 +179,7 @@ pub(crate) fn compile_fn(
|
|||||||
let early_dcx = rustc_session::EarlyDiagCtxt::new(
|
let early_dcx = rustc_session::EarlyDiagCtxt::new(
|
||||||
rustc_session::config::ErrorOutputType::default(),
|
rustc_session::config::ErrorOutputType::default(),
|
||||||
);
|
);
|
||||||
early_dcx.early_error(format!(
|
early_dcx.early_fatal(format!(
|
||||||
"backend implementation limit exceeded while compiling {name}",
|
"backend implementation limit exceeded while compiling {name}",
|
||||||
name = codegened_func.symbol_name
|
name = codegened_func.symbol_name
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user