Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | lib/ungrammar/rust.ungram | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram index d6471d2279..13d5968e35 100644 --- a/lib/ungrammar/rust.ungram +++ b/lib/ungrammar/rust.ungram @@ -351,6 +351,7 @@ Expr = | TryExpr | TupleExpr | WhileExpr +| YieldExpr Literal = Attr* value:( @@ -491,6 +492,9 @@ MatchGuard = ReturnExpr = Attr* 'return' Expr? +YieldExpr = + Attr* 'yield' Expr? + AwaitExpr = Attr* Expr '.' 'await' |