Remove ast::{Impl,Trait}{Item,ItemKind}.

This commit is contained in:
Mazdak Farrokhzad 2019-12-08 00:08:09 +01:00
parent 35e9e097e7
commit abf2e7aa95
19 changed files with 123 additions and 134 deletions

View file

@ -685,8 +685,8 @@ pub enum Nonterminal {
// Used only for passing items to proc macro attributes (they are not
// strictly necessary for that, `Annotatable` can be converted into
// tokens directly, but doing that naively regresses pretty-printing).
NtTraitItem(ast::TraitItem),
NtImplItem(ast::ImplItem),
NtTraitItem(ast::AssocItem),
NtImplItem(ast::AssocItem),
NtForeignItem(ast::ForeignItem),
}