Skip to content

Commit bfda19d

Browse files
Rollup merge of rust-lang#119171 - nnethercote:cleanup-errors-4, r=compiler-errors
Cleanup error handlers: round 4 More `rustc_errors` cleanups. A sequel to rust-lang#118933. r? `@compiler-errors`
2 parents 71899c3 + b94a2a1 commit bfda19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pub(crate) fn compile_fn(
179179
let early_dcx = rustc_session::EarlyDiagCtxt::new(
180180
rustc_session::config::ErrorOutputType::default(),
181181
);
182-
early_dcx.early_error(format!(
182+
early_dcx.early_fatal(format!(
183183
"backend implementation limit exceeded while compiling {name}",
184184
name = codegened_func.symbol_name
185185
));

0 commit comments

Comments
 (0)