aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 20:45:29 +0100
committerAleksey Kladov <[email protected]>2020-07-31 20:45:29 +0100
commit22d295ceaaee76dbd555cdeedc0ed7578e66279d (patch)
treeae48a497fbe6ef49c5b8a9a0431c778953c428a0 /xtask
parent215b9b9cccd66c9e9413e7581931371daa0c94e5 (diff)
Rename DotDotPat -> RestPat
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/ast_src.rs2
-rw-r--r--xtask/src/codegen/rust.ungram4
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 =
498Pat = 498Pat =
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 =
560BoxPat = 560BoxPat =
561 'box' Pat 561 'box' Pat
562 562
563DotDotPat = 563RestPat =
564 '..' 564 '..'
565 565
566MacroPat = 566MacroPat =