mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-19 10:00:27 +00:00
Parse destructuring assignment
The only patterns we should parse are `..` in structs and `_`: the rest are either not supported or already valid expressions.
This commit is contained in:
parent
ab2af50655
commit
d9f0731bd2
18 changed files with 543 additions and 218 deletions
|
@ -188,6 +188,7 @@ pub enum SyntaxKind {
|
|||
RETURN_EXPR,
|
||||
YIELD_EXPR,
|
||||
LET_EXPR,
|
||||
UNDERSCORE_EXPR,
|
||||
MATCH_EXPR,
|
||||
MATCH_ARM_LIST,
|
||||
MATCH_ARM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue