diff options
author | Aleksey Kladov <[email protected]> | 2020-07-31 19:07:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-31 19:07:21 +0100 |
commit | 6791eb9685375da94556bb910ea71f78b08be5ec (patch) | |
tree | 5b1b11a96815d381e366685bb641185e81a1c9c4 /xtask | |
parent | d7f75db90d99216c13000681ff2c4a887451c4b2 (diff) |
Rename PalceholderPat -> WildcardPat
Diffstat (limited to 'xtask')
-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 869bdaa0d..fbe36d2f5 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -127,7 +127,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
127 | "REF_PAT", | 127 | "REF_PAT", |
128 | "BOX_PAT", | 128 | "BOX_PAT", |
129 | "BIND_PAT", | 129 | "BIND_PAT", |
130 | "PLACEHOLDER_PAT", | 130 | "WILDCARD_PAT", |
131 | "DOT_DOT_PAT", | 131 | "DOT_DOT_PAT", |
132 | "PATH_PAT", | 132 | "PATH_PAT", |
133 | "RECORD_PAT", | 133 | "RECORD_PAT", |
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index cb8a307fe..7c814240a 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -505,7 +505,7 @@ Pat = | |||
505 | | OrPat | 505 | | OrPat |
506 | | ParenPat | 506 | | ParenPat |
507 | | PathPat | 507 | | PathPat |
508 | | PlaceholderPat | 508 | | WildcardPat |
509 | | RangePat | 509 | | RangePat |
510 | | RecordPat | 510 | | RecordPat |
511 | | RefPat | 511 | | RefPat |
@@ -519,7 +519,7 @@ LiteralPat = | |||
519 | BindPat = | 519 | BindPat = |
520 | Attr* 'ref'? 'mut'? Name ('@' Pat)? | 520 | Attr* 'ref'? 'mut'? Name ('@' Pat)? |
521 | 521 | ||
522 | PlaceholderPat = | 522 | WildcardPat = |
523 | '_' | 523 | '_' |
524 | 524 | ||
525 | RangePat = | 525 | RangePat = |