From 2cfe8fb357f8ad7e99dc03b09e0ec5fa1c2c9029 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 31 Jul 2012 16:32:37 -0700 Subject: rustc: Check self types in method lookup; allow required trait methods to have self types; write self types into metadata --- src/libsyntax/parse/parser.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsyntax/parse') 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 { -- cgit 1.4.1-3-g733a5