Extend ast_map to know about method declarations in traits.
This commit is contained in:
parent
97452c0ca1
commit
2fe299d1a5
7 changed files with 48 additions and 11 deletions
|
|
@ -511,7 +511,7 @@ type ty_field = spanned<ty_field_>;
|
|||
#[auto_serialize]
|
||||
type ty_method = {ident: ident, attrs: ~[attribute],
|
||||
decl: fn_decl, tps: ~[ty_param], self_ty: self_ty,
|
||||
span: span};
|
||||
id: node_id, span: span};
|
||||
|
||||
#[auto_serialize]
|
||||
// A trait method is either required (meaning it doesn't have an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue