about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/syntax/rust.ungram
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-09 21:14:32 +0000
committerbors <bors@rust-lang.org>2023-01-09 21:14:32 +0000
commit3254bef9a79bd762b8cece2078abe168cb29ccb1 (patch)
treeefee5b2f868754652158f690e5471a3c6a1293f0 /src/tools/rust-analyzer/crates/syntax/rust.ungram
parent3020239de947ec52677e9b4e853a6a9fc073d1f9 (diff)
parent06e705f13dade399d629dd422e3fc84bddc58db0 (diff)
Auto merge of #105855 - arcnmx:rust-analyzer-2022-12, r=lnicola
:arrow_up: rust-analyzer

Updates rust-analyzer to https://github.com/rust-lang/rust-analyzer/commit/368e0bb32f1178cf162c2ce5f7e10b7ae211eb26

This is a continuation/replacement of #105834, close that if this is chosen instead.
Diffstat (limited to 'src/tools/rust-analyzer/crates/syntax/rust.ungram')
-rw-r--r--src/tools/rust-analyzer/crates/syntax/rust.ungram4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/syntax/rust.ungram b/src/tools/rust-analyzer/crates/syntax/rust.ungram
index 0a0cb0290d6..2c67586a390 100644
--- a/src/tools/rust-analyzer/crates/syntax/rust.ungram
+++ b/src/tools/rust-analyzer/crates/syntax/rust.ungram
@@ -359,6 +359,7 @@ Expr =
 | TupleExpr
 | WhileExpr
 | YieldExpr
+| YeetExpr
 | LetExpr
 | UnderscoreExpr
 
@@ -503,6 +504,9 @@ ReturnExpr =
 YieldExpr =
   Attr* 'yield' Expr?
 
+YeetExpr =
+  Attr* 'do' 'yeet' Expr?
+
 LetExpr =
   Attr* 'let' Pat '=' Expr