Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break OR tokens in closure parameter list context
The parser was unable to process as closure inside a closure because the lexer could not differentiate an OR from two PIPE tokens. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_closure_expr_pratt): Fix closure parsing function to handle consecutive parameter lists. Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
- Loading branch information