parse guard patterns
Co-authored-by: Max Niederman <max@maxniederman.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user