@@ -1678,7 +1678,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1678
1678
duplicated_lifetime_node_id,
1679
1679
lifetime. ident . name ,
1680
1680
DefKind :: LifetimeParam ,
1681
- lifetime. ident . span ,
1681
+ self . lower_span ( lifetime. ident . span ) ,
1682
1682
) ;
1683
1683
captured_to_synthesized_mapping. insert ( old_def_id, duplicated_lifetime_def_id) ;
1684
1684
// FIXME: Instead of doing this, we could move this whole loop
@@ -1687,7 +1687,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1687
1687
synthesized_lifetime_definitions. push ( (
1688
1688
duplicated_lifetime_node_id,
1689
1689
duplicated_lifetime_def_id,
1690
- lifetime. ident ,
1690
+ self . lower_ident ( lifetime. ident ) ,
1691
1691
) ) ;
1692
1692
1693
1693
// 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> {
2252
2252
match c. value . kind {
2253
2253
ExprKind :: Underscore => {
2254
2254
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 ) )
2256
2256
} else {
2257
2257
feature_err (
2258
2258
& self . tcx . sess . parse_sess ,
0 commit comments