Auto merge of #67699 - cjgillot:passes-resolve, r=Zoxc
Move resolve_lifetimes query in librustc_resolve. Split out of #67688 r? @Zoxc
This commit is contained in:
commit
769eb2194a
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,7 @@ use rustc::hir::def_id::{CrateNum, LOCAL_CRATE};
|
||||
use rustc::hir::lowering::lower_crate;
|
||||
use rustc::lint;
|
||||
use rustc::middle::cstore::{CrateStore, MetadataLoader, MetadataLoaderDyn};
|
||||
use rustc::middle::{self, resolve_lifetime, stability};
|
||||
use rustc::middle::{self, stability};
|
||||
use rustc::session::config::{self, CrateType, Input, OutputFilenames, OutputType};
|
||||
use rustc::session::config::{PpMode, PpSourceMode};
|
||||
use rustc::session::search_paths::PathKind;
|
||||
@ -678,13 +678,13 @@ pub fn default_provide(providers: &mut ty::query::Providers<'_>) {
|
||||
plugin::build::provide(providers);
|
||||
hir::provide(providers);
|
||||
mir::provide(providers);
|
||||
resolve_lifetime::provide(providers);
|
||||
rustc_privacy::provide(providers);
|
||||
typeck::provide(providers);
|
||||
ty::provide(providers);
|
||||
traits::provide(providers);
|
||||
stability::provide(providers);
|
||||
rustc_passes::provide(providers);
|
||||
rustc_resolve::provide(providers);
|
||||
rustc_traits::provide(providers);
|
||||
rustc_metadata::provide(providers);
|
||||
lint::provide(providers);
|
||||
|
@ -30,6 +30,7 @@ use rustc::lint;
|
||||
use rustc::middle::cstore::{CrateStore, MetadataLoaderDyn};
|
||||
use rustc::session::Session;
|
||||
use rustc::span_bug;
|
||||
use rustc::ty::query::Providers;
|
||||
use rustc::ty::{self, DefIdTree, ResolverOutputs};
|
||||
use rustc::util::nodemap::{DefIdMap, FxHashMap, FxHashSet, NodeMap, NodeSet};
|
||||
|
||||
@ -74,6 +75,7 @@ mod def_collector;
|
||||
mod diagnostics;
|
||||
mod imports;
|
||||
mod late;
|
||||
mod lifetimes;
|
||||
mod macros;
|
||||
|
||||
enum Weak {
|
||||
@ -3089,3 +3091,7 @@ impl CrateLint {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn provide(providers: &mut Providers<'_>) {
|
||||
lifetimes::provide(providers);
|
||||
}
|
||||
|
2888
src/librustc_resolve/lifetimes.rs
Normal file
2888
src/librustc_resolve/lifetimes.rs
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user