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
|
|
@ -291,7 +291,7 @@ class parser {
|
|||
required({ident: ident, attrs: attrs,
|
||||
decl: {purity: pur with d}, tps: tps,
|
||||
self_ty: self_ty,
|
||||
span: mk_sp(lo, hi)})
|
||||
id: p.get_id(), span: mk_sp(lo, hi)})
|
||||
}
|
||||
token::LBRACE {
|
||||
debug!{"parse_trait_methods(): parsing provided method"};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue