Move lifetime resolution module to rustc_hir_analysis.
This commit is contained in:
parent
0265a3e93b
commit
a474ec50b7
5 changed files with 5 additions and 21 deletions
|
@ -46,6 +46,7 @@ use std::iter;
|
|||
|
||||
mod generics_of;
|
||||
mod item_bounds;
|
||||
mod lifetimes;
|
||||
mod predicates_of;
|
||||
mod type_of;
|
||||
|
||||
|
@ -57,6 +58,7 @@ fn collect_mod_item_types(tcx: TyCtxt<'_>, module_def_id: LocalDefId) {
|
|||
}
|
||||
|
||||
pub fn provide(providers: &mut Providers) {
|
||||
lifetimes::provide(providers);
|
||||
*providers = Providers {
|
||||
opt_const_param_of: type_of::opt_const_param_of,
|
||||
type_of: type_of::type_of,
|
||||
|
|
1888
compiler/rustc_hir_analysis/src/collect/lifetimes.rs
Normal file
1888
compiler/rustc_hir_analysis/src/collect/lifetimes.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue