mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
@@ -2699,9 +2699,9 @@ pub fn parse_assoc_expr_with(&mut self,
|
||||
// Semi-statement forms are odd. See https://github.com/rust-lang/rust/issues/29071
|
||||
return Ok(lhs);
|
||||
}
|
||||
let cur_op_span = self.span;
|
||||
self.expected_tokens.push(TokenType::Operator);
|
||||
while let Some(op) = AssocOp::from_token(&self.token) {
|
||||
let cur_op_span = self.span;
|
||||
let restrictions = if op.is_assign_like() {
|
||||
self.restrictions & Restrictions::RESTRICTION_NO_STRUCT_LITERAL
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user