diff options
author | Aleksey Kladov <[email protected]> | 2020-05-02 00:12:37 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-05-02 00:12:37 +0100 |
commit | fd030f9450ed6910677e30f8fa65b06e71fcffa2 (patch) | |
tree | 27298926ab8ffa68cfef463bd37d6564ffb417dd /xtask | |
parent | a984587c47a8ad8b7dbdae0509089a9f6d898d8d (diff) |
Revert "Merge #4233"
This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing
changes made to c96b2180c1c4206a0a98c280b4d30897eb116336.
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 703fb9be9..1abb62f6f 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -162,6 +162,7 @@ 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", | ||
165 | "BOX_EXPR", | 166 | "BOX_EXPR", |
166 | // postfix | 167 | // postfix |
167 | "CALL_EXPR", | 168 | "CALL_EXPR", |
@@ -439,6 +440,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
439 | } | 440 | } |
440 | struct IfExpr: AttrsOwner { T![if], Condition } | 441 | struct IfExpr: AttrsOwner { T![if], Condition } |
441 | struct LoopExpr: AttrsOwner, LoopBodyOwner { T![loop] } | 442 | struct LoopExpr: AttrsOwner, LoopBodyOwner { T![loop] } |
443 | struct TryBlockExpr: AttrsOwner { T![try], body: BlockExpr } | ||
442 | struct ForExpr: AttrsOwner, LoopBodyOwner { | 444 | struct ForExpr: AttrsOwner, LoopBodyOwner { |
443 | T![for], | 445 | T![for], |
444 | Pat, | 446 | Pat, |
@@ -449,7 +451,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
449 | struct ContinueExpr: AttrsOwner { T![continue], T![lifetime] } | 451 | struct ContinueExpr: AttrsOwner { T![continue], T![lifetime] } |
450 | struct BreakExpr: AttrsOwner { T![break], T![lifetime], Expr } | 452 | struct BreakExpr: AttrsOwner { T![break], T![lifetime], Expr } |
451 | struct Label { T![lifetime] } | 453 | struct Label { T![lifetime] } |
452 | struct BlockExpr: AttrsOwner { Label, T![unsafe], T![async], Block } | 454 | struct BlockExpr: AttrsOwner { Label, T![unsafe], T![async], Block } |
453 | struct ReturnExpr: AttrsOwner { Expr } | 455 | struct ReturnExpr: AttrsOwner { Expr } |
454 | struct CallExpr: ArgListOwner { Expr } | 456 | struct CallExpr: ArgListOwner { Expr } |
455 | struct MethodCallExpr: AttrsOwner, ArgListOwner { | 457 | struct MethodCallExpr: AttrsOwner, ArgListOwner { |
@@ -720,6 +722,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
720 | FieldExpr, | 722 | FieldExpr, |
721 | AwaitExpr, | 723 | AwaitExpr, |
722 | TryExpr, | 724 | TryExpr, |
725 | TryBlockExpr, | ||
723 | CastExpr, | 726 | CastExpr, |
724 | RefExpr, | 727 | RefExpr, |
725 | PrefixExpr, | 728 | PrefixExpr, |