From 92665358cd98913e3fef8294e1889cc0bb919e3f Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Tue, 5 May 2020 23:56:10 +0800 Subject: Rename ImplItem to AssocItem --- xtask/src/ast_src.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtask') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 2f8065b73..fe3eb85de 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -373,7 +373,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { struct ItemList: ModuleItemOwner { T!['{'], - impl_items: [ImplItem], + assoc_items: [AssocItem], T!['}'] } @@ -685,7 +685,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { } /* impl blocks can also contain MacroCall */ - enum ImplItem: NameOwner, AttrsOwner { + enum AssocItem: NameOwner, AttrsOwner { FnDef, TypeAliasDef, ConstDef } -- cgit v1.2.3