diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 2 | ||||
-rw-r--r-- | xtask/src/codegen/rust.ungram | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 2ff029158..1386fc4e7 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -128,7 +128,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
128 | "BOX_PAT", | 128 | "BOX_PAT", |
129 | "IDENT_PAT", | 129 | "IDENT_PAT", |
130 | "WILDCARD_PAT", | 130 | "WILDCARD_PAT", |
131 | "DOT_DOT_PAT", | 131 | "REST_PAT", |
132 | "PATH_PAT", | 132 | "PATH_PAT", |
133 | "RECORD_PAT", | 133 | "RECORD_PAT", |
134 | "RECORD_PAT_FIELD_LIST", | 134 | "RECORD_PAT_FIELD_LIST", |
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 25d6f7a20..02f5aa732 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -498,7 +498,7 @@ TypeBound = | |||
498 | Pat = | 498 | Pat = |
499 | IdentPat | 499 | IdentPat |
500 | | BoxPat | 500 | | BoxPat |
501 | | DotDotPat | 501 | | RestPat |
502 | | LiteralPat | 502 | | LiteralPat |
503 | | MacroPat | 503 | | MacroPat |
504 | | OrPat | 504 | | OrPat |
@@ -560,7 +560,7 @@ OrPat = | |||
560 | BoxPat = | 560 | BoxPat = |
561 | 'box' Pat | 561 | 'box' Pat |
562 | 562 | ||
563 | DotDotPat = | 563 | RestPat = |
564 | '..' | 564 | '..' |
565 | 565 | ||
566 | MacroPat = | 566 | MacroPat = |