Restructure AST so that the associated type definition carries
bounds like any other "type parameter".
This commit is contained in:
parent
01b81c0ebb
commit
319d778ed3
13 changed files with 105 additions and 98 deletions
|
|
@ -861,10 +861,8 @@ pub enum ImplItem {
|
|||
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
pub struct AssociatedType {
|
||||
pub id: NodeId,
|
||||
pub span: Span,
|
||||
pub ident: Ident,
|
||||
pub attrs: Vec<Attribute>,
|
||||
pub ty_param: TyParam,
|
||||
}
|
||||
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue