File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ macro_rules! arena_types {
93
93
>,
94
94
[ few] get_lib_features: rustc:: middle:: lib_features:: LibFeatures ,
95
95
[ few] defined_lib_features: rustc:: middle:: lang_items:: LanguageItems ,
96
+ [ few] visible_parent_map: rustc:: util:: nodemap:: DefIdMap <rustc:: hir:: def_id:: DefId >,
96
97
] , $tcx) ;
97
98
)
98
99
}
Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ rustc_queries! {
808
808
desc { "calculating the missing lang items in a crate" }
809
809
}
810
810
query visible_parent_map( _: CrateNum )
811
- -> Lrc < DefIdMap <DefId > > {
811
+ -> & ' tcx DefIdMap <DefId > {
812
812
desc { "calculating the visible parent map" }
813
813
}
814
814
query missing_extern_crate_item( _: CrateNum ) -> bool {
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ pub fn provide<'tcx>(providers: &mut Providers<'tcx>) {
376
376
}
377
377
}
378
378
379
- Lrc :: new ( visible_parent_map)
379
+ tcx . arena . alloc ( visible_parent_map)
380
380
} ,
381
381
382
382
..* providers
You can’t perform that action at this time.
0 commit comments