aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 14:46:12 +0100
committerAleksey Kladov <[email protected]>2020-07-31 14:51:01 +0100
commitd4d986c7f850e1f535bb4c22e3a7f7fba5483628 (patch)
tree08477af01b6c828249c88db126b2f86e0e6899bd /xtask/src/codegen/rust.ungram
parenta7ca6583fbce6f1bddce7b31ad5bb1fc0665b616 (diff)
Item is a Stmt
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r--xtask/src/codegen/rust.ungram2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 8271509cf..17de36d7a 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -197,6 +197,7 @@ Attr =
197Stmt = 197Stmt =
198 LetStmt 198 LetStmt
199| ExprStmt 199| ExprStmt
200| Item
200 201
201LetStmt = 202LetStmt =
202 Attr* 'let' Pat (':' Type)? 203 Attr* 'let' Pat (':' Type)?
@@ -316,7 +317,6 @@ Label =
316BlockExpr = 317BlockExpr =
317 Attr* Label 318 Attr* Label
318 '{' 319 '{'
319 Item*
320 statements:Stmt* 320 statements:Stmt*
321 Expr? 321 Expr?
322 '}' 322 '}'