Rename EarlyErrorHandler
as EarlyDiagCtxt
.
This commit is contained in:
parent
45f347681d
commit
cce1701c4c
16 changed files with 77 additions and 88 deletions
|
@ -176,7 +176,7 @@ pub(crate) fn compile_fn(
|
|||
match module.define_function(codegened_func.func_id, context) {
|
||||
Ok(()) => {}
|
||||
Err(ModuleError::Compilation(CodegenError::ImplLimitExceeded)) => {
|
||||
let handler = rustc_session::EarlyErrorHandler::new(
|
||||
let handler = rustc_session::EarlyDiagCtxt::new(
|
||||
rustc_session::config::ErrorOutputType::default(),
|
||||
);
|
||||
handler.early_error(format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue