Rollup merge of #102859 - cjgillot:collect-lifetimes, r=oli-obk
Move lifetime resolution module to rustc_hir_analysis. Now that lifetime resolution has been removed from it, this file has nothing to do in `rustc_resolve`. It's purpose is to compute Debruijn indices for lifetimes, so let's put it in type collection.
This commit is contained in:
commit
98764c0c72
5 changed files with 5 additions and 21 deletions
|
@ -34,7 +34,6 @@ use std::collections::{hash_map::Entry, BTreeSet};
|
|||
use std::mem::{replace, take};
|
||||
|
||||
mod diagnostics;
|
||||
pub(crate) mod lifetimes;
|
||||
|
||||
type Res = def::Res<NodeId>;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -42,7 +42,6 @@ use rustc_metadata::creader::{CStore, CrateLoader};
|
|||
use rustc_middle::metadata::ModChild;
|
||||
use rustc_middle::middle::privacy::AccessLevels;
|
||||
use rustc_middle::span_bug;
|
||||
use rustc_middle::ty::query::Providers;
|
||||
use rustc_middle::ty::{self, DefIdTree, MainDefinition, RegisteredTools, ResolverOutputs};
|
||||
use rustc_query_system::ich::StableHashingContext;
|
||||
use rustc_session::cstore::{CrateStore, CrateStoreDyn, MetadataLoaderDyn};
|
||||
|
@ -2082,7 +2081,3 @@ impl Finalize {
|
|||
Finalize { node_id, path_span, root_span, report_private: true }
|
||||
}
|
||||
}
|
||||
|
||||
pub fn provide(providers: &mut Providers) {
|
||||
late::lifetimes::provide(providers);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue