mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Reorder
This commit is contained in:
parent
14cb96ec0e
commit
d7f75db90d
3 changed files with 18 additions and 19 deletions
|
@ -516,8 +516,8 @@ Pat =
|
|||
LiteralPat =
|
||||
Literal
|
||||
|
||||
PathPat =
|
||||
Path
|
||||
BindPat =
|
||||
Attr* 'ref'? 'mut'? Name ('@' Pat)?
|
||||
|
||||
PlaceholderPat =
|
||||
'_'
|
||||
|
@ -540,29 +540,29 @@ RecordPatFieldList =
|
|||
RecordPatField =
|
||||
Attr* (NameRef ':')? Pat
|
||||
|
||||
OrPat =
|
||||
Pat*
|
||||
TupleStructPat =
|
||||
Path '(' args:(Pat (',' Pat)* ','?)? ')'
|
||||
|
||||
TuplePat =
|
||||
'(' args:(Pat (',' Pat)* ','?)? ')'
|
||||
|
||||
ParenPat =
|
||||
'(' Pat ')'
|
||||
|
||||
BoxPat =
|
||||
'box' Path
|
||||
SlicePat =
|
||||
'[' args:(Pat (',' Pat)* ','?)? ']'
|
||||
|
||||
BindPat =
|
||||
Attr* 'ref'? 'mut'? Name ('@' Pat)?
|
||||
PathPat =
|
||||
Path
|
||||
|
||||
OrPat =
|
||||
(Pat ('|' Pat)* '|'?)
|
||||
|
||||
BoxPat =
|
||||
'box' Pat
|
||||
|
||||
DotDotPat =
|
||||
'..'
|
||||
|
||||
SlicePat =
|
||||
'[' args:Pat* ']'
|
||||
|
||||
MacroPat =
|
||||
MacroCall
|
||||
|
||||
TupleStructPat =
|
||||
Path '(' args:Pat* ')'
|
||||
|
||||
TuplePat =
|
||||
'(' args:Pat* ')'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue