about summary refs log tree commit diff
path: root/src/librustsyntax/parse/lexer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustsyntax/parse/lexer.rs')
-rw-r--r--src/librustsyntax/parse/lexer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustsyntax/parse/lexer.rs b/src/librustsyntax/parse/lexer.rs
index ec9f785db2f..321bf076a1e 100644
--- a/src/librustsyntax/parse/lexer.rs
+++ b/src/librustsyntax/parse/lexer.rs
@@ -6,7 +6,7 @@ export reader, new_reader, next_token, is_whitespace;
 
 type reader = @{
     span_diagnostic: diagnostic::span_handler,
-    src: @str,
+    src: ~str,
     mut col: uint,
     mut pos: uint,
     mut curr: char,