Remove EarlyErrorHandler argument from after_analysis callback
It is only used by miri which can create a new one using the Session.
This commit is contained in:
parent
90e9053189
commit
2eca717a24
4 changed files with 4 additions and 8 deletions
|
@ -16,7 +16,6 @@ use rustc_driver::{Callbacks, Compilation, RunCompiler};
|
|||
use rustc_interface::{interface, Queries};
|
||||
use rustc_middle::mir::interpret::AllocId;
|
||||
use rustc_middle::ty::TyCtxt;
|
||||
use rustc_session::EarlyErrorHandler;
|
||||
pub use rustc_span::def_id::{CrateNum, DefId};
|
||||
|
||||
fn with_tables<R>(mut f: impl FnMut(&mut Tables<'_>) -> R) -> R {
|
||||
|
@ -233,7 +232,6 @@ where
|
|||
/// continue the compilation afterwards (defaults to `Compilation::Continue`)
|
||||
fn after_analysis<'tcx>(
|
||||
&mut self,
|
||||
_handler: &EarlyErrorHandler,
|
||||
_compiler: &interface::Compiler,
|
||||
queries: &'tcx Queries<'tcx>,
|
||||
) -> Compilation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue