Implement ast::AstNode for NameLike and move it to node_ext

This commit is contained in:
Lukas Wirth
2021-02-16 19:27:08 +01:00
parent 80f9618f37
commit e52bdc55ef
5 changed files with 102 additions and 101 deletions

View File

@@ -19,7 +19,7 @@ pub use self::{
expr_ext::{ArrayExprKind, BinOp, Effect, ElseBranch, LiteralKind, PrefixOp, RangeOp},
generated::{nodes::*, tokens::*},
node_ext::{
AttrKind, FieldKind, Macro, NameOrNameRef, PathSegmentKind, SelfParamKind,
AttrKind, FieldKind, Macro, NameLike, NameOrNameRef, PathSegmentKind, SelfParamKind,
SlicePatComponents, StructKind, TypeBoundKind, VisibilityKind,
},
token_ext::*,