@@ -46,10 +46,10 @@ pub fn crates_export_threshold(crate_types: &[config::CrateType]) -> SymbolExpor
4646 }
4747}
4848
49- fn reachable_non_generics_provider < ' tcx > (
50- tcx : TyCtxt < ' tcx > ,
49+ fn reachable_non_generics_provider (
50+ tcx : TyCtxt < ' _ > ,
5151 cnum : CrateNum ,
52- ) -> & ' tcx DefIdMap < SymbolExportLevel > {
52+ ) -> & DefIdMap < SymbolExportLevel > {
5353 assert_eq ! ( cnum, LOCAL_CRATE ) ;
5454
5555 if !tcx. sess . opts . output_types . should_codegen ( ) {
@@ -157,7 +157,7 @@ fn reachable_non_generics_provider<'tcx>(
157157 tcx. arena . alloc ( reachable_non_generics)
158158}
159159
160- fn is_reachable_non_generic_provider_local < ' tcx > ( tcx : TyCtxt < ' tcx > , def_id : DefId ) -> bool {
160+ fn is_reachable_non_generic_provider_local ( tcx : TyCtxt < ' _ > , def_id : DefId ) -> bool {
161161 let export_threshold = threshold ( tcx) ;
162162
163163 if let Some ( & level) = tcx. reachable_non_generics ( def_id. krate ) . get ( & def_id) {
@@ -167,14 +167,14 @@ fn is_reachable_non_generic_provider_local<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefI
167167 }
168168}
169169
170- fn is_reachable_non_generic_provider_extern < ' tcx > ( tcx : TyCtxt < ' tcx > , def_id : DefId ) -> bool {
170+ fn is_reachable_non_generic_provider_extern ( tcx : TyCtxt < ' _ > , def_id : DefId ) -> bool {
171171 tcx. reachable_non_generics ( def_id. krate ) . contains_key ( & def_id)
172172}
173173
174- fn exported_symbols_provider_local < ' tcx > (
175- tcx : TyCtxt < ' tcx > ,
174+ fn exported_symbols_provider_local (
175+ tcx : TyCtxt < ' _ > ,
176176 cnum : CrateNum ,
177- ) -> Arc < Vec < ( ExportedSymbol < ' tcx > , SymbolExportLevel ) > > {
177+ ) -> Arc < Vec < ( ExportedSymbol < ' _ > , SymbolExportLevel ) > > {
178178 assert_eq ! ( cnum, LOCAL_CRATE ) ;
179179
180180 if !tcx. sess . opts . output_types . should_codegen ( ) {
@@ -273,10 +273,10 @@ fn exported_symbols_provider_local<'tcx>(
273273 Arc :: new ( symbols)
274274}
275275
276- fn upstream_monomorphizations_provider < ' tcx > (
277- tcx : TyCtxt < ' tcx > ,
276+ fn upstream_monomorphizations_provider (
277+ tcx : TyCtxt < ' _ > ,
278278 cnum : CrateNum ,
279- ) -> & ' tcx DefIdMap < FxHashMap < SubstsRef < ' tcx > , CrateNum > > {
279+ ) -> & DefIdMap < FxHashMap < SubstsRef < ' _ > , CrateNum > > {
280280 debug_assert ! ( cnum == LOCAL_CRATE ) ;
281281
282282 let cnums = tcx. all_crate_nums ( LOCAL_CRATE ) ;
@@ -322,10 +322,10 @@ fn upstream_monomorphizations_provider<'tcx>(
322322 tcx. arena . alloc ( instances)
323323}
324324
325- fn upstream_monomorphizations_for_provider < ' tcx > (
326- tcx : TyCtxt < ' tcx > ,
325+ fn upstream_monomorphizations_for_provider (
326+ tcx : TyCtxt < ' _ > ,
327327 def_id : DefId ,
328- ) -> Option < & ' tcx FxHashMap < SubstsRef < ' tcx > , CrateNum > > {
328+ ) -> Option < & FxHashMap < SubstsRef < ' _ > , CrateNum > > {
329329 debug_assert ! ( !def_id. is_local( ) ) ;
330330 tcx. upstream_monomorphizations ( LOCAL_CRATE ) . get ( & def_id)
331331}
0 commit comments