diff options
author | Aleksey Kladov <[email protected]> | 2020-07-31 19:09:09 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-31 19:12:10 +0100 |
commit | 98181087984157e27faba0b969e384f3c62c39d5 (patch) | |
tree | 0032223efeefca76340fb0a97f6f12d0e432a2a9 /xtask/src | |
parent | 6791eb9685375da94556bb910ea71f78b08be5ec (diff) |
Rename BindPat -> IdentPat
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 fbe36d2f5..2ff029158 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -126,7 +126,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
126 | "PAREN_PAT", | 126 | "PAREN_PAT", |
127 | "REF_PAT", | 127 | "REF_PAT", |
128 | "BOX_PAT", | 128 | "BOX_PAT", |
129 | "BIND_PAT", | 129 | "IDENT_PAT", |
130 | "WILDCARD_PAT", | 130 | "WILDCARD_PAT", |
131 | "DOT_DOT_PAT", | 131 | "DOT_DOT_PAT", |
132 | "PATH_PAT", | 132 | "PATH_PAT", |
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 7c814240a..7685f4f06 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -497,7 +497,7 @@ TypeBound = | |||
497 | | '?'? Type | 497 | | '?'? Type |
498 | 498 | ||
499 | Pat = | 499 | Pat = |
500 | BindPat | 500 | IdentPat |
501 | | BoxPat | 501 | | BoxPat |
502 | | DotDotPat | 502 | | DotDotPat |
503 | | LiteralPat | 503 | | LiteralPat |
@@ -516,7 +516,7 @@ Pat = | |||
516 | LiteralPat = | 516 | LiteralPat = |
517 | Literal | 517 | Literal |
518 | 518 | ||
519 | BindPat = | 519 | IdentPat = |
520 | Attr* 'ref'? 'mut'? Name ('@' Pat)? | 520 | Attr* 'ref'? 'mut'? Name ('@' Pat)? |
521 | 521 | ||
522 | WildcardPat = | 522 | WildcardPat = |