@@ -138,8 +138,8 @@ impl<'cx, 'gcx, 'tcx> LexicalResolver<'cx, 'gcx, 'tcx> {
138138 /// empty region. The `expansion` phase will grow this larger.
139139 fn construct_var_data ( & self , tcx : TyCtxt < ' _ , ' _ , ' tcx > ) -> LexicalRegionResolutions < ' tcx > {
140140 LexicalRegionResolutions {
141- error_region : tcx. types . re_static ,
142- values : IndexVec :: from_elem_n ( VarValue :: Value ( tcx. types . re_empty ) , self . num_vars ( ) )
141+ error_region : tcx. lifetimes . re_static ,
142+ values : IndexVec :: from_elem_n ( VarValue :: Value ( tcx. lifetimes . re_empty ) , self . num_vars ( ) )
143143 }
144144 }
145145
@@ -266,7 +266,7 @@ impl<'cx, 'gcx, 'tcx> LexicalResolver<'cx, 'gcx, 'tcx> {
266266 let b_universe = self . var_infos [ b_vid] . universe ;
267267 if let ty:: RePlaceholder ( p) = lub {
268268 if b_universe. cannot_name ( p. universe ) {
269- lub = self . tcx ( ) . types . re_static ;
269+ lub = self . tcx ( ) . lifetimes . re_static ;
270270 }
271271 }
272272
@@ -348,7 +348,7 @@ impl<'cx, 'gcx, 'tcx> LexicalResolver<'cx, 'gcx, 'tcx> {
348348
349349 // otherwise, we don't know what the free region is,
350350 // so we must conservatively say the LUB is static:
351- tcx. types . re_static
351+ tcx. lifetimes . re_static
352352 }
353353
354354 ( & ReScope ( a_id) , & ReScope ( b_id) ) => {
@@ -371,7 +371,7 @@ impl<'cx, 'gcx, 'tcx> LexicalResolver<'cx, 'gcx, 'tcx> {
371371 ( & RePlaceholder ( ..) , _) | ( _, & RePlaceholder ( ..) ) => if a == b {
372372 a
373373 } else {
374- tcx. types . re_static
374+ tcx. lifetimes . re_static
375375 } ,
376376 }
377377 }
@@ -598,7 +598,7 @@ impl<'cx, 'gcx, 'tcx> LexicalResolver<'cx, 'gcx, 'tcx> {
598598 for lower_bound in & lower_bounds {
599599 let effective_lower_bound = if let ty:: RePlaceholder ( p) = lower_bound. region {
600600 if node_universe. cannot_name ( p. universe ) {
601- self . tcx ( ) . types . re_static
601+ self . tcx ( ) . lifetimes . re_static
602602 } else {
603603 lower_bound. region
604604 }
0 commit comments