Skip to content

Commit 4c4bcae

Browse files
Treat pat_param like pat fragments
1 parent 3fa3343 commit 4c4bcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/mbe/src/expander/matcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ fn match_meta_var(kind: &str, input: &mut TtIter) -> ExpandResult<Option<Fragmen
701701
"path" => Path,
702702
"expr" => Expr,
703703
"ty" => Type,
704-
"pat" => Pattern,
704+
"pat" | "pat_param" => Pattern, // FIXME: edition2021
705705
"stmt" => Statement,
706706
"block" => Block,
707707
"meta" => MetaItem,

0 commit comments

Comments
 (0)