diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-09-10 09:44:03 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-09-10 09:44:03 +0000 |
| commit | 2eca717a240a37e4e996d727b6506d2f2e990b74 (patch) | |
| tree | 853860bff1df6cc36ca8444504735e1fb0ff2bf6 /compiler/rustc_smir/src/rustc_internal | |
| parent | 90e9053189da16be1f1ee00836e692edb9bf8154 (diff) | |
Remove EarlyErrorHandler argument from after_analysis callback
It is only used by miri which can create a new one using the Session.
Diffstat (limited to 'compiler/rustc_smir/src/rustc_internal')
| -rw-r--r-- | compiler/rustc_smir/src/rustc_internal/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_smir/src/rustc_internal/mod.rs b/compiler/rustc_smir/src/rustc_internal/mod.rs index 73b8e060dd8..4203990ab05 100644 --- a/compiler/rustc_smir/src/rustc_internal/mod.rs +++ b/compiler/rustc_smir/src/rustc_internal/mod.rs @@ -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 { |
