Skip to content

Commit eeb3db1

Browse files
committed
Rename many DiagCtxt and EarlyDiagCtxt locals.
1 parent 8b5a5da commit eeb3db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ pub(crate) fn compile_fn(
176176
match module.define_function(codegened_func.func_id, context) {
177177
Ok(()) => {}
178178
Err(ModuleError::Compilation(CodegenError::ImplLimitExceeded)) => {
179-
let handler = rustc_session::EarlyDiagCtxt::new(
179+
let early_dcx = rustc_session::EarlyDiagCtxt::new(
180180
rustc_session::config::ErrorOutputType::default(),
181181
);
182-
handler.early_error(format!(
182+
early_dcx.early_error(format!(
183183
"backend implementation limit exceeded while compiling {name}",
184184
name = codegened_func.symbol_name
185185
));

0 commit comments

Comments
 (0)