mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Rename BindPat -> IdentPat
This commit is contained in:
parent
6791eb9685
commit
9818108798
83 changed files with 277 additions and 273 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue