@@ -97,7 +97,7 @@ impl<'a> Parser<'a> {
9797            self . mk_stmt ( lo,  StmtKind :: Empty ) 
9898        }  else  if  self . token  != token:: CloseDelim ( token:: Brace )  { 
9999            // Remainder are line-expr stmts. 
100-             let  e = self . parse_expr_res ( Restrictions :: STMT_EXPR ,  Some ( attrs. into ( ) ) ) ?; 
100+             let  e = self . parse_expr_res ( Restrictions :: STMT_EXPR ,  Some ( attrs) ) ?; 
101101            self . mk_stmt ( lo. to ( e. span ) ,  StmtKind :: Expr ( e) ) 
102102        }  else  { 
103103            self . error_outer_attrs ( & attrs. take_for_recovery ( ) ) ; 
@@ -131,7 +131,7 @@ impl<'a> Parser<'a> {
131131            } ; 
132132
133133            let  expr = this. with_res ( Restrictions :: STMT_EXPR ,  |this| { 
134-                 let  expr = this. parse_dot_or_call_expr_with ( expr,  lo,  attrs. into ( ) ) ?; 
134+                 let  expr = this. parse_dot_or_call_expr_with ( expr,  lo,  attrs) ?; 
135135                this. parse_assoc_expr_with ( 0 ,  LhsExpr :: AlreadyParsed ( expr) ) 
136136            } ) ?; 
137137            Ok ( ( 
@@ -213,7 +213,7 @@ impl<'a> Parser<'a> {
213213    } 
214214
215215    fn  recover_local_after_let ( & mut  self ,  lo :  Span ,  attrs :  AttrVec )  -> PResult < ' a ,  Stmt >  { 
216-         let  local = self . parse_local ( attrs. into ( ) ) ?; 
216+         let  local = self . parse_local ( attrs) ?; 
217217        Ok ( self . mk_stmt ( lo. to ( self . prev_token . span ) ,  StmtKind :: Local ( local) ) ) 
218218    } 
219219
0 commit comments