parse guard patterns
Co-authored-by: Max Niederman <max@maxniederman.com>
This commit is contained in:
parent
f86915a682
commit
962c0140c7
17 changed files with 248 additions and 63 deletions
|
@ -469,7 +469,7 @@ impl<'a> Parser<'a> {
|
|||
PathStyle::Pat
|
||||
if let Ok(_) = self
|
||||
.parse_paren_comma_seq(|p| {
|
||||
p.parse_pat_no_top_guard(
|
||||
p.parse_pat_allow_top_guard(
|
||||
None,
|
||||
RecoverComma::No,
|
||||
RecoverColon::No,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue