diff options
Diffstat (limited to 'xtask/src/ast_src.rs')
-rw-r--r-- | xtask/src/ast_src.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 9c02f7c6f..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], 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 { |
@@ -595,7 +593,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
595 | qualifier: Path, | 593 | qualifier: Path, |
596 | } | 594 | } |
597 | struct PathSegment { | 595 | struct PathSegment { |
598 | T![::], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>] | 596 | T![::], T![crate], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>] |
599 | } | 597 | } |
600 | struct TypeArgList { | 598 | struct TypeArgList { |
601 | T![::], | 599 | T![::], |
@@ -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, |