File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
compiler/rustc_parse/src/parser Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -136,16 +136,7 @@ impl<'a> Parser<'a> {
136
136
r : Restrictions ,
137
137
attrs : Option < AttrWrapper > ,
138
138
) -> PResult < ' a , P < Expr > > {
139
- self . with_res ( r, |this| this. parse_expr_assoc ( attrs) )
140
- }
141
-
142
- /// Parses an associative expression.
143
- ///
144
- /// This parses an expression accounting for associativity and precedence of the operators in
145
- /// the expression.
146
- #[ inline]
147
- fn parse_expr_assoc ( & mut self , attrs : Option < AttrWrapper > ) -> PResult < ' a , P < Expr > > {
148
- self . parse_expr_assoc_with ( 0 , LhsExpr :: Unparsed { attrs } )
139
+ self . with_res ( r, |this| this. parse_expr_assoc_with ( 0 , LhsExpr :: Unparsed { attrs } ) )
149
140
}
150
141
151
142
/// Parses an associative expression with operators of at least `min_prec` precedence.
You can’t perform that action at this time.
0 commit comments