diff options
| author | bors <bors@rust-lang.org> | 2022-09-27 10:45:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-27 10:45:57 +0000 |
| commit | 57ee5cf5a93923dae9c98bffb11545fc3a31368d (patch) | |
| tree | abd98065e805dca388767b651ae60673397fea9d /compiler/rustc_interface/src | |
| parent | d9297d22ad9edc2b56f0dd8734c1187a0c88be69 (diff) | |
| parent | 1fc86a63f451b81606e4787692517dc613f333db (diff) | |
| download | rust-57ee5cf5a93923dae9c98bffb11545fc3a31368d.tar.gz rust-57ee5cf5a93923dae9c98bffb11545fc3a31368d.zip | |
Auto merge of #102306 - lcnr:rustc_hir_analysis, r=compiler-errors
rename rustc_typeck to rustc_hir_analysis first part of https://github.com/rust-lang/compiler-team/issues/529 r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index c41b154c3e0..ad3e020b581 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -37,7 +37,6 @@ use rustc_session::{Limit, Session}; use rustc_span::symbol::{sym, Symbol}; use rustc_span::FileName; use rustc_trait_selection::traits; -use rustc_typeck as typeck; use std::any::Any; use std::cell::RefCell; @@ -736,7 +735,7 @@ pub static DEFAULT_QUERY_PROVIDERS: LazyLock<Providers> = LazyLock::new(|| { rustc_mir_transform::provide(providers); rustc_monomorphize::provide(providers); rustc_privacy::provide(providers); - typeck::provide(providers); + rustc_hir_analysis::provide(providers); ty::provide(providers); traits::provide(providers); rustc_passes::provide(providers); @@ -880,7 +879,7 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> { }); // passes are timed inside typeck - typeck::check_crate(tcx)?; + rustc_hir_analysis::check_crate(tcx)?; sess.time("misc_checking_2", || { parallel!( |
