diff options
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, |