Rename PalceholderPat -> WildcardPat

This commit is contained in:
Aleksey Kladov 2020-07-31 20:07:21 +02:00
parent d7f75db90d
commit 6791eb9685
50 changed files with 132 additions and 135 deletions

View file

@ -127,7 +127,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
"REF_PAT",
"BOX_PAT",
"BIND_PAT",
"PLACEHOLDER_PAT",
"WILDCARD_PAT",
"DOT_DOT_PAT",
"PATH_PAT",
"RECORD_PAT",

View file

@ -505,7 +505,7 @@ Pat =
| OrPat
| ParenPat
| PathPat
| PlaceholderPat
| WildcardPat
| RangePat
| RecordPat
| RefPat
@ -519,7 +519,7 @@ LiteralPat =
BindPat =
Attr* 'ref'? 'mut'? Name ('@' Pat)?
PlaceholderPat =
WildcardPat =
'_'
RangePat =