Skip to content

Commit

Permalink
Rollup merge of rust-lang#119171 - nnethercote:cleanup-errors-4, r=co…
Browse files Browse the repository at this point in the history
…mpiler-errors

Cleanup error handlers: round 4

More `rustc_errors` cleanups. A sequel to rust-lang#118933.

r? `@compiler-errors`
  • Loading branch information
compiler-errors authored Dec 23, 2023
2 parents 71899c3 + b94a2a1 commit bfda19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub(crate) fn compile_fn(
let early_dcx = rustc_session::EarlyDiagCtxt::new(
rustc_session::config::ErrorOutputType::default(),
);
early_dcx.early_error(format!(
early_dcx.early_fatal(format!(
"backend implementation limit exceeded while compiling {name}",
name = codegened_func.symbol_name
));
Expand Down

0 comments on commit bfda19d

Please sign in to comment.