We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DiagCtxt
EarlyDiagCtxt
1 parent 8b5a5da commit eeb3db1Copy full SHA for eeb3db1
src/base.rs
@@ -176,10 +176,10 @@ pub(crate) fn compile_fn(
176
match module.define_function(codegened_func.func_id, context) {
177
Ok(()) => {}
178
Err(ModuleError::Compilation(CodegenError::ImplLimitExceeded)) => {
179
- let handler = rustc_session::EarlyDiagCtxt::new(
+ let early_dcx = rustc_session::EarlyDiagCtxt::new(
180
rustc_session::config::ErrorOutputType::default(),
181
);
182
- handler.early_error(format!(
+ early_dcx.early_error(format!(
183
"backend implementation limit exceeded while compiling {name}",
184
name = codegened_func.symbol_name
185
));
0 commit comments