diff options
author | Aleksey Kladov <[email protected]> | 2020-04-30 21:41:14 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-30 21:41:14 +0100 |
commit | 292ba6a1f81fee4170c3081f74499fe8c3ddedd4 (patch) | |
tree | b811687045b42a2b7af226c89f175a072e1ff6ec /xtask | |
parent | 15cfa9a808be820ceafc2e957ea8532e8ec68f00 (diff) |
Remove dead code, which elaborately pretends to be alive
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 5 |
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, |