diff options
| author | Michael Sullivan <sully@msully.net> | 2012-08-02 15:52:25 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-08-02 16:02:30 -0700 |
| commit | 2fe299d1a53355c9bb78b9067bd2d18bd4eb94e7 (patch) | |
| tree | 39464d3cdfd3f2d9f75a2fc4f49e72454b61e475 /src/libsyntax/parse | |
| parent | 97452c0ca16238a2de5503aca07db26ff9e8ba63 (diff) | |
| download | rust-2fe299d1a53355c9bb78b9067bd2d18bd4eb94e7.tar.gz rust-2fe299d1a53355c9bb78b9067bd2d18bd4eb94e7.zip | |
Extend ast_map to know about method declarations in traits.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 7d5a088a04f..537e72f707f 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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"}; |
