Fix rustfmt dep

This commit is contained in:
Mu001999 2023-08-03 00:13:41 +08:00
parent 1f369f8b6a
commit 35d875a3a0

View File

@ -56,7 +56,7 @@ macro_rules! parse_macro_arg {
);
parse_macro_arg!(
Pat,
|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),
|x: ptr::P<ast::Pat>| Some(x)
);
// `parse_item` returns `Option<ptr::P<ast::Item>>`.