summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-02-14 21:17:26 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-02-15 16:59:56 -0800
commitbb833ca0f0e878d381c3dc0c9afe958a810e4427 (patch)
tree7766fd3354b2b0f0418c5ff317df0696b41dbcc1 /src/libsyntax/parse/lexer.rs
parent566bcf2225634ee4d4698247fe89364440eb534c (diff)
downloadrust-bb833ca0f0e878d381c3dc0c9afe958a810e4427.tar.gz
rust-bb833ca0f0e878d381c3dc0c9afe958a810e4427.zip
librustc: Stop parsing `impl Type : Trait` and fix several declarations that slipped through. r=tjc
Diffstat (limited to 'src/libsyntax/parse/lexer.rs')
-rw-r--r--src/libsyntax/parse/lexer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/lexer.rs b/src/libsyntax/parse/lexer.rs
index cb9382ebbb6..92c4f1e828f 100644
--- a/src/libsyntax/parse/lexer.rs
+++ b/src/libsyntax/parse/lexer.rs
@@ -127,7 +127,7 @@ impl reader for StringReader {
     fn dup(@mut self) -> reader { dup_string_reader(self) as reader }
 }
 
-pub impl TtReader: reader {
+pub impl reader for TtReader {
     fn is_eof(@mut self) -> bool { self.cur_tok == token::EOF }
     fn next_token(@mut self) -> TokenAndSpan { tt_next_token(self) }
     fn fatal(@mut self, m: ~str) -> ! {