mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Add BoxPat
variant
This commit is contained in:
parent
fdece911fe
commit
e6f3790106
3 changed files with 41 additions and 2 deletions
|
@ -158,6 +158,7 @@ Grammar(
|
|||
"DYN_TRAIT_TYPE",
|
||||
|
||||
"REF_PAT",
|
||||
"BOX_PAT",
|
||||
"BIND_PAT",
|
||||
"PLACEHOLDER_PAT",
|
||||
"PATH_PAT",
|
||||
|
@ -523,6 +524,7 @@ Grammar(
|
|||
),
|
||||
|
||||
"RefPat": ( options: [ "Pat" ]),
|
||||
"BoxPat": ( options: [ "Pat" ]),
|
||||
"BindPat": (
|
||||
options: [ "Pat" ],
|
||||
traits: ["NameOwner"]
|
||||
|
@ -552,6 +554,7 @@ Grammar(
|
|||
"Pat": (
|
||||
enum: [
|
||||
"RefPat",
|
||||
"BoxPat",
|
||||
"BindPat",
|
||||
"PlaceholderPat",
|
||||
"PathPat",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue