@@ -191,7 +191,7 @@ impl<'a> Parser<'a> {
191191 }
192192 } ;
193193
194- if !self . should_continue_as_assoc_expr ( & lhs) {
194+ if !self . should_continue_as_assoc_expr_FIXME ( & lhs) {
195195 return Ok ( lhs) ;
196196 }
197197
@@ -382,8 +382,9 @@ impl<'a> Parser<'a> {
382382 Ok ( lhs)
383383 }
384384
385- fn should_continue_as_assoc_expr ( & mut self , lhs : & Expr ) -> bool {
386- match ( self . expr_is_complete ( lhs) , AssocOp :: from_token ( & self . token ) ) {
385+ #[ allow( non_snake_case) ]
386+ fn should_continue_as_assoc_expr_FIXME ( & mut self , lhs : & Expr ) -> bool {
387+ match ( self . expr_is_complete_FIXME ( lhs) , AssocOp :: from_token ( & self . token ) ) {
387388 // Semi-statement forms are odd:
388389 // See https://github.com/rust-lang/rust/issues/29071
389390 ( true , None ) => false ,
@@ -468,7 +469,8 @@ impl<'a> Parser<'a> {
468469 }
469470
470471 /// Checks if this expression is a successfully parsed statement.
471- fn expr_is_complete ( & self , e : & Expr ) -> bool {
472+ #[ allow( non_snake_case) ]
473+ fn expr_is_complete_FIXME ( & self , e : & Expr ) -> bool {
472474 self . restrictions . contains ( Restrictions :: STMT_EXPR )
473475 && match e. kind {
474476 ExprKind :: MacCall ( _) => false ,
@@ -978,7 +980,7 @@ impl<'a> Parser<'a> {
978980 e = self . parse_dot_suffix_expr ( lo, e) ?;
979981 continue ;
980982 }
981- if self . expr_is_complete ( & e) {
983+ if self . expr_is_complete_FIXME ( & e) {
982984 return Ok ( e) ;
983985 }
984986 e = match self . token . kind {
0 commit comments