@@ -1678,7 +1678,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
16781678 duplicated_lifetime_node_id,
16791679 lifetime. ident . name ,
16801680 DefKind :: LifetimeParam ,
1681- lifetime. ident . span ,
1681+ self . lower_span ( lifetime. ident . span ) ,
16821682 ) ;
16831683 captured_to_synthesized_mapping. insert ( old_def_id, duplicated_lifetime_def_id) ;
16841684 // FIXME: Instead of doing this, we could move this whole loop
@@ -1687,7 +1687,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
16871687 synthesized_lifetime_definitions. push ( (
16881688 duplicated_lifetime_node_id,
16891689 duplicated_lifetime_def_id,
1690- lifetime. ident ,
1690+ self . lower_ident ( lifetime. ident ) ,
16911691 ) ) ;
16921692
16931693 // Now make an arg that we can use for the generic params of the opaque tykind.
@@ -2252,7 +2252,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
22522252 match c. value . kind {
22532253 ExprKind :: Underscore => {
22542254 if self . tcx . features ( ) . generic_arg_infer {
2255- hir:: ArrayLen :: Infer ( self . lower_node_id ( c. id ) , c. value . span )
2255+ hir:: ArrayLen :: Infer ( self . lower_node_id ( c. id ) , self . lower_span ( c. value . span ) )
22562256 } else {
22572257 feature_err (
22582258 & self . tcx . sess . parse_sess ,
0 commit comments