Fix rustfmt dep

This commit is contained in:
Mu001999 2023-08-03 00:13:41 +08:00
parent 4eeecaed1d
commit e42bc9ec66

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>>`.