about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-06-14 19:40:11 -0700
committerCorey Richardson <corey@octayn.net>2013-06-28 10:44:16 -0400
commit89eb9951958dc2cd652645cea5badf4bb9edc6f9 (patch)
treedc234db5e74b23cec4080026d8c316d88849e638 /src/libsyntax/parse
parent03ab6351ccc7b0e2b6102f88eddc0bbe84f2abc0 (diff)
downloadrust-89eb9951958dc2cd652645cea5badf4bb9edc6f9.tar.gz
rust-89eb9951958dc2cd652645cea5badf4bb9edc6f9.zip
librustc: Fix merge fallout.
Diffstat (limited to 'src/libsyntax/parse')
-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 64bdfd4a4d3..f1b5c4d16be 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -378,7 +378,7 @@ impl Parser {
             self.fatal(
                 fmt!(
                     "expected `%s`, found `%s`",
-                    *self.id_to_str(kw.to_ident()),
+                    self.id_to_str(kw.to_ident()).to_str(),
                     self.this_token_to_str()
                 )
             );