We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f369f8 commit 35d875aCopy full SHA for 35d875a
src/parse/macros/mod.rs
@@ -56,7 +56,7 @@ fn parse_macro_arg<'a, 'b: 'a>(parser: &'a mut Parser<'b>) -> Option<MacroArg> {
56
);
57
parse_macro_arg!(
58
Pat,
59
- |parser: &mut rustc_parse::parser::Parser<'b>| parser.parse_pat_no_top_alt(None),
+ |parser: &mut rustc_parse::parser::Parser<'b>| parser.parse_pat_no_top_alt(None, None),
60
|x: ptr::P<ast::Pat>| Some(x)
61
62
// `parse_item` returns `Option<ptr::P<ast::Item>>`.
0 commit comments