Skip to content

Commit b94a2a1

Browse files
committed
Rename EarlyDiagCtxt methods to match DiagCtxt.
- `early_error_no_abort` -> `early_err` - `early_error` -> `early_fatal` - `early_struct_error` -> `early_struct_fatal`
1 parent a4be90e commit b94a2a1

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)