File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
pub mod check_attr;
6
6
pub mod exports;
7
7
pub mod map;
8
- pub mod upvars;
9
8
10
9
use crate :: ty:: query:: Providers ;
11
10
12
11
pub fn provide ( providers : & mut Providers < ' _ > ) {
13
12
map:: provide ( providers) ;
14
- upvars:: provide ( providers) ;
15
13
}
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ pub mod loops;
31
31
mod reachable;
32
32
mod region;
33
33
pub mod stability;
34
+ mod upvars;
34
35
35
36
pub fn provide ( providers : & mut Providers < ' _ > ) {
36
37
check_attr:: provide ( providers) ;
@@ -44,4 +45,5 @@ pub fn provide(providers: &mut Providers<'_>) {
44
45
reachable:: provide ( providers) ;
45
46
region:: provide ( providers) ;
46
47
stability:: provide ( providers) ;
48
+ upvars:: provide ( providers) ;
47
49
}
Original file line number Diff line number Diff line change 1
1
//! Upvar (closure capture) collection from cross-body HIR uses of `Res::Local`s.
2
2
3
- use crate :: hir:: map:: Map ;
4
- use crate :: ty:: query:: Providers ;
5
- use crate :: ty:: TyCtxt ;
3
+ use rustc :: hir:: map:: Map ;
4
+ use rustc :: ty:: query:: Providers ;
5
+ use rustc :: ty:: TyCtxt ;
6
6
use rustc_data_structures:: fx:: { FxHashSet , FxIndexMap } ;
7
7
use rustc_hir as hir;
8
8
use rustc_hir:: def:: Res ;
You can’t perform that action at this time.
0 commit comments