aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/ast_src.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index 74a87e900..ac4cc9717 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -298,7 +298,7 @@ macro_rules! ast_enums {
298 298
299pub(crate) const AST_SRC: AstSrc = AstSrc { 299pub(crate) const AST_SRC: AstSrc = AstSrc {
300 nodes: &ast_nodes! { 300 nodes: &ast_nodes! {
301 struct SourceFile: ModuleItemOwner, FnDefOwner, AttrsOwner { 301 struct SourceFile: ModuleItemOwner, AttrsOwner {
302 modules: [Module], 302 modules: [Module],
303 } 303 }
304 304
@@ -364,7 +364,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
364 Semi 364 Semi
365 } 365 }
366 366
367 struct ItemList: FnDefOwner, ModuleItemOwner { 367 struct ItemList: ModuleItemOwner {
368 LCurly, 368 LCurly,
369 impl_items: [ImplItem], 369 impl_items: [ImplItem],
370 RCurly 370 RCurly
@@ -604,14 +604,14 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
604 struct LifetimeArg { Lifetime } 604 struct LifetimeArg { Lifetime }
605 struct ConstArg { Literal, Eq, BlockExpr } 605 struct ConstArg { Literal, Eq, BlockExpr }
606 606
607 struct MacroItems: ModuleItemOwner, FnDefOwner { } 607 struct MacroItems: ModuleItemOwner{ }
608 608
609 struct MacroStmts { 609 struct MacroStmts {
610 statements: [Stmt], 610 statements: [Stmt],
611 Expr, 611 Expr,
612 } 612 }
613 613
614 struct ExternItemList: FnDefOwner, ModuleItemOwner { 614 struct ExternItemList: ModuleItemOwner {
615 LCurly, 615 LCurly,
616 extern_items: [ExternItem], 616 extern_items: [ExternItem],
617 RCurly 617 RCurly