diff options
| author | bors <bors@rust-lang.org> | 2023-09-24 05:21:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-24 05:21:27 +0000 |
| commit | 00a8d4830e700d7f53e176a4e042f54495dd8365 (patch) | |
| tree | c10be66ac64476f89919a4c29078d1ef6f40ff34 /compiler/rustc_interface/src/interface.rs | |
| parent | 5ddf866c9c91afa53d26a3bf13c2cce4dd8bb21d (diff) | |
| parent | cf766029b6502cedac0be9104fd7589b7abd8de9 (diff) | |
| download | rust-00a8d4830e700d7f53e176a4e042f54495dd8365.tar.gz rust-00a8d4830e700d7f53e176a4e042f54495dd8365.zip | |
Auto merge of #3079 - rust-lang:rustup-2023-09-24, r=saethlin
Automatic sync from rustc
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
| -rw-r--r-- | compiler/rustc_interface/src/interface.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index a0f0b530bae..1c330c064ab 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -9,7 +9,7 @@ use rustc_data_structures::sync::Lrc; use rustc_errors::registry::Registry; use rustc_errors::{ErrorGuaranteed, Handler}; use rustc_lint::LintStore; -use rustc_middle::query::{ExternProviders, Providers}; +use rustc_middle::util::Providers; use rustc_middle::{bug, ty}; use rustc_parse::maybe_new_parser_from_source_str; use rustc_query_impl::QueryCtxt; @@ -37,7 +37,7 @@ pub struct Compiler { pub(crate) sess: Lrc<Session>, codegen_backend: Lrc<dyn CodegenBackend>, pub(crate) register_lints: Option<Box<dyn Fn(&Session, &mut LintStore) + Send + Sync>>, - pub(crate) override_queries: Option<fn(&Session, &mut Providers, &mut ExternProviders)>, + pub(crate) override_queries: Option<fn(&Session, &mut Providers)>, } impl Compiler { @@ -271,7 +271,7 @@ pub struct Config { /// the list of queries. /// /// The second parameter is local providers and the third parameter is external providers. - pub override_queries: Option<fn(&Session, &mut Providers, &mut ExternProviders)>, + pub override_queries: Option<fn(&Session, &mut Providers)>, /// This is a callback from the driver that is called to create a codegen backend. pub make_codegen_backend: |
