diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 99bd60198..d9f51ec39 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -138,6 +138,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
138 | "SLICE_PAT", | 138 | "SLICE_PAT", |
139 | "RANGE_PAT", | 139 | "RANGE_PAT", |
140 | "LITERAL_PAT", | 140 | "LITERAL_PAT", |
141 | "MACRO_PAT", | ||
141 | // atoms | 142 | // atoms |
142 | "TUPLE_EXPR", | 143 | "TUPLE_EXPR", |
143 | "ARRAY_EXPR", | 144 | "ARRAY_EXPR", |
@@ -440,6 +441,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
440 | struct SlicePat { args: [Pat] } | 441 | struct SlicePat { args: [Pat] } |
441 | struct RangePat {} | 442 | struct RangePat {} |
442 | struct LiteralPat { Literal } | 443 | struct LiteralPat { Literal } |
444 | struct MacroPat { MacroCall } | ||
443 | 445 | ||
444 | struct RecordPat { RecordFieldPatList, Path } | 446 | struct RecordPat { RecordFieldPatList, Path } |
445 | struct RecordFieldPatList { | 447 | struct RecordFieldPatList { |
@@ -622,6 +624,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
622 | SlicePat, | 624 | SlicePat, |
623 | RangePat, | 625 | RangePat, |
624 | LiteralPat, | 626 | LiteralPat, |
627 | MacroPat, | ||
625 | } | 628 | } |
626 | 629 | ||
627 | enum AttrInput { Literal, TokenTree } | 630 | enum AttrInput { Literal, TokenTree } |