diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-07-31 16:32:37 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-07-31 16:35:11 -0700 |
| commit | 2cfe8fb357f8ad7e99dc03b09e0ec5fa1c2c9029 (patch) | |
| tree | 56af8b2f6feb43d3393caf47bcebaa8399712257 /src/libsyntax/parse | |
| parent | 567f881fdf4053d4890929eb4cd46c67c4a011ee (diff) | |
| download | rust-2cfe8fb357f8ad7e99dc03b09e0ec5fa1c2c9029.tar.gz rust-2cfe8fb357f8ad7e99dc03b09e0ec5fa1c2c9029.zip | |
rustc: Check self types in method lookup; allow required trait methods to have self types; write self types into metadata
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 80cfd50ea3b..46a9f062645 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -286,6 +286,7 @@ class parser { // methods are ignored; this could change. required({ident: ident, attrs: attrs, decl: {purity: pur with d}, tps: tps, + self_ty: self_ty, span: mk_sp(lo, hi)}) } token::LBRACE { |
