aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-30 21:59:15 +0100
committerGitHub <[email protected]>2020-04-30 21:59:15 +0100
commita5f2b16366f027ad60c58266a66eb7fbdcbda9f9 (patch)
tree3a35738bc84ce0dd2902d2394df2adbc8792986e /xtask/src
parentc96b2180c1c4206a0a98c280b4d30897eb116336 (diff)
parent14126349be47ee28e7feb1ebb2dd1f0392537e56 (diff)
Merge #4233
4233: Remove dead TryBlock expressio r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/ast_src.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index c14804aad..bdd42cb76 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -162,7 +162,6 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
162 "RECORD_LIT", 162 "RECORD_LIT",
163 "RECORD_FIELD_LIST", 163 "RECORD_FIELD_LIST",
164 "RECORD_FIELD", 164 "RECORD_FIELD",
165 "TRY_BLOCK_EXPR",
166 "BOX_EXPR", 165 "BOX_EXPR",
167 // postfix 166 // postfix
168 "CALL_EXPR", 167 "CALL_EXPR",
@@ -440,7 +439,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
440 } 439 }
441 struct IfExpr: AttrsOwner { T![if], Condition } 440 struct IfExpr: AttrsOwner { T![if], Condition }
442 struct LoopExpr: AttrsOwner, LoopBodyOwner { T![loop] } 441 struct LoopExpr: AttrsOwner, LoopBodyOwner { T![loop] }
443 struct TryBlockExpr: AttrsOwner { T![try], body: BlockExpr }
444 struct ForExpr: AttrsOwner, LoopBodyOwner { 442 struct ForExpr: AttrsOwner, LoopBodyOwner {
445 T![for], 443 T![for],
446 Pat, 444 Pat,
@@ -451,7 +449,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
451 struct ContinueExpr: AttrsOwner { T![continue], T![lifetime] } 449 struct ContinueExpr: AttrsOwner { T![continue], T![lifetime] }
452 struct BreakExpr: AttrsOwner { T![break], T![lifetime], Expr } 450 struct BreakExpr: AttrsOwner { T![break], T![lifetime], Expr }
453 struct Label { T![lifetime] } 451 struct Label { T![lifetime] }
454 struct BlockExpr: AttrsOwner { Label, T![unsafe], T![async], Block } 452 struct BlockExpr: AttrsOwner { Label, T![unsafe], T![async], Block }
455 struct ReturnExpr: AttrsOwner { Expr } 453 struct ReturnExpr: AttrsOwner { Expr }
456 struct CallExpr: ArgListOwner { Expr } 454 struct CallExpr: ArgListOwner { Expr }
457 struct MethodCallExpr: AttrsOwner, ArgListOwner { 455 struct MethodCallExpr: AttrsOwner, ArgListOwner {
@@ -722,7 +720,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
722 FieldExpr, 720 FieldExpr,
723 AwaitExpr, 721 AwaitExpr,
724 TryExpr, 722 TryExpr,
725 TryBlockExpr,
726 CastExpr, 723 CastExpr,
727 RefExpr, 724 RefExpr,
728 PrefixExpr, 725 PrefixExpr,