Unify {Trait,Impl}ItemKind::TyAlias
structures.
This commit is contained in:
parent
c02fd31302
commit
39073767a4
16 changed files with 209 additions and 54 deletions
|
@ -1638,7 +1638,7 @@ pub struct ImplItem<K = ImplItemKind> {
|
|||
pub enum ImplItemKind {
|
||||
Const(P<Ty>, Option<P<Expr>>),
|
||||
Method(FnSig, Option<P<Block>>),
|
||||
TyAlias(P<Ty>),
|
||||
TyAlias(GenericBounds, Option<P<Ty>>),
|
||||
Macro(Mac),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue