diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-02 00:16:19 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-02 00:16:19 +0100 |
commit | 3c96de5380a09fe06752ce146edeb017ae8c701c (patch) | |
tree | 27298926ab8ffa68cfef463bd37d6564ffb417dd /xtask/src | |
parent | a984587c47a8ad8b7dbdae0509089a9f6d898d8d (diff) | |
parent | fd030f9450ed6910677e30f8fa65b06e71fcffa2 (diff) |
Merge #4254
4254: Put ? back in place 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.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, |