about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2012-08-03 11:22:35 -0700
committerPatrick Walton <pcwalton@mimiga.net>2012-08-03 11:22:35 -0700
commitdfe1f6260e7e076114b95b42053cf6dc4cbaca68 (patch)
tree62494df82d25e902d11e71ae5fab63088437ef90 /src/libsyntax/parse/parser.rs
parentb3933b88220b3a63f2a61b6769492898f718f1b4 (diff)
downloadrust-dfe1f6260e7e076114b95b42053cf6dc4cbaca68.tar.gz
rust-dfe1f6260e7e076114b95b42053cf6dc4cbaca68.zip
rustc: Remove all fixed-length strings from our codebase
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index f697685796f..02646614435 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2164,7 +2164,7 @@ class parser {
                 }
                 _ => {
                     self.fatal(~"expected `,` or `)`, found `" +
-                               token_to_str(self.reader, self.token) + "`");
+                               token_to_str(self.reader, self.token) + ~"`");
                 }
             }
         } else {