Parse let expressions in order to support let chains
We still need to reject freestanding `let` expressions: see https://github.com/rust-analyzer/rust-analyzer/issues/11320#issuecomment-1018212465.
This commit is contained in:
@@ -178,7 +178,6 @@ pub enum SyntaxKind {
|
||||
CLOSURE_EXPR,
|
||||
IF_EXPR,
|
||||
WHILE_EXPR,
|
||||
CONDITION,
|
||||
LOOP_EXPR,
|
||||
FOR_EXPR,
|
||||
CONTINUE_EXPR,
|
||||
@@ -188,6 +187,7 @@ pub enum SyntaxKind {
|
||||
STMT_LIST,
|
||||
RETURN_EXPR,
|
||||
YIELD_EXPR,
|
||||
LET_EXPR,
|
||||
MATCH_EXPR,
|
||||
MATCH_ARM_LIST,
|
||||
MATCH_ARM,
|
||||
|
||||
Reference in New Issue
Block a user