diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-31 14:54:19 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-31 14:54:19 +0100 |
commit | ad239f6197bda31f7a9b904b5ccb25c93cbc701a (patch) | |
tree | 5e4b244c62c61824dbb63246aa9943e3b2398131 /xtask/src/codegen/rust.ungram | |
parent | 3407d6f8a430627be333c32cb4cef02c0c8d11e3 (diff) | |
parent | d4d986c7f850e1f535bb4c22e3a7f7fba5483628 (diff) |
Merge #5623
5623: Item is a Stmt r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 2 |
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 = | |||
197 | Stmt = | 197 | Stmt = |
198 | LetStmt | 198 | LetStmt |
199 | | ExprStmt | 199 | | ExprStmt |
200 | | Item | ||
200 | 201 | ||
201 | LetStmt = | 202 | LetStmt = |
202 | Attr* 'let' Pat (':' Type)? | 203 | Attr* 'let' Pat (':' Type)? |
@@ -316,7 +317,6 @@ Label = | |||
316 | BlockExpr = | 317 | BlockExpr = |
317 | Attr* Label | 318 | Attr* Label |
318 | '{' | 319 | '{' |
319 | Item* | ||
320 | statements:Stmt* | 320 | statements:Stmt* |
321 | Expr? | 321 | Expr? |
322 | '}' | 322 | '}' |