diff options
Diffstat (limited to 'xtask/src/ast_src.rs')
-rw-r--r-- | xtask/src/ast_src.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 3200acc86..5fed777ac 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -549,7 +549,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
549 | struct Block: AttrsOwner, ModuleItemOwner { | 549 | struct Block: AttrsOwner, ModuleItemOwner { |
550 | LCurly, | 550 | LCurly, |
551 | statements: [Stmt], | 551 | statements: [Stmt], |
552 | statements_or_semi: [StmtOrSemi], | ||
553 | Expr, | 552 | Expr, |
554 | RCurly, | 553 | RCurly, |
555 | } | 554 | } |
@@ -749,12 +748,10 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
749 | 748 | ||
750 | enum AttrInput { Literal, TokenTree } | 749 | enum AttrInput { Literal, TokenTree } |
751 | enum Stmt { | 750 | enum Stmt { |
752 | ModuleItem, | ||
753 | LetStmt, | 751 | LetStmt, |
754 | ExprStmt, | 752 | ExprStmt, |
755 | // macro calls are parsed as expression statements */ | 753 | // macro calls are parsed as expression statements */ |
756 | } | 754 | } |
757 | enum StmtOrSemi {Stmt, Semi} | ||
758 | 755 | ||
759 | enum LeftDelimiter { LParen, LBrack, LCurly } | 756 | enum LeftDelimiter { LParen, LBrack, LCurly } |
760 | enum RightDelimiter { RParen, RBrack, RCurly } | 757 | enum RightDelimiter { RParen, RBrack, RCurly } |
@@ -825,10 +822,5 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
825 | RecordFieldDefList, | 822 | RecordFieldDefList, |
826 | TupleFieldDefList, | 823 | TupleFieldDefList, |
827 | } | 824 | } |
828 | |||
829 | enum AttrOrComment { | ||
830 | Attr, | ||
831 | Comment | ||
832 | } | ||
833 | }, | 825 | }, |
834 | }; | 826 | }; |