Rename BindPat -> IdentPat
This commit is contained in:
@@ -361,7 +361,7 @@ fn bind_pat(p: &mut Parser, with_at: bool) -> CompletedMarker {
|
||||
if with_at && p.eat(T![@]) {
|
||||
pattern_single(p);
|
||||
}
|
||||
m.complete(p, BIND_PAT)
|
||||
m.complete(p, IDENT_PAT)
|
||||
}
|
||||
|
||||
// test box_pat
|
||||
|
||||
@@ -156,7 +156,7 @@ pub enum SyntaxKind {
|
||||
PAREN_PAT,
|
||||
REF_PAT,
|
||||
BOX_PAT,
|
||||
BIND_PAT,
|
||||
IDENT_PAT,
|
||||
WILDCARD_PAT,
|
||||
DOT_DOT_PAT,
|
||||
PATH_PAT,
|
||||
|
||||
Reference in New Issue
Block a user