about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-12 15:06:57 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-03-13 20:07:09 -0700
commitb85158e23a12b1660591afe6ead1f375c2623b65 (patch)
treef929990e4cdc4c76720fadc516b0d654bfda9221 /src/libsyntax/parse
parentb1c699815ddf22bf17b58a8c3d317af33745e28d (diff)
downloadrust-b85158e23a12b1660591afe6ead1f375c2623b65.tar.gz
rust-b85158e23a12b1660591afe6ead1f375c2623b65.zip
librustc: Remove overloaded operator autoderef.
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 170a1a3240e..0f06976249b 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3407,7 +3407,7 @@ pub impl Parser {
         let prefix = Path(self.sess.cm.span_to_filename(*self.span));
         let prefix = prefix.dir_path();
         let mod_path = Path(".").push_many(*self.mod_path_stack);
-        let default_path = self.sess.interner.get(id) + ~".rs";
+        let default_path = *self.sess.interner.get(id) + ~".rs";
         let file_path = match ::attr::first_attr_value_str_by_name(
             outer_attrs, ~"path") {
             Some(d) => {