summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-30 14:57:59 -0700
committerBrian Anderson <andersrb@gmail.com>2011-08-30 21:08:07 -0700
commiteb70267e5e731a5b489aabf0e2214a9c4a264e26 (patch)
treea73565a23afeb2dbd75df30e3be95dfc298f0c00 /src/comp/syntax
parent04928ed3f00e82d7d233d2b4d2a63440f098b279 (diff)
downloadrust-eb70267e5e731a5b489aabf0e2214a9c4a264e26.tar.gz
rust-eb70267e5e731a5b489aabf0e2214a9c4a264e26.zip
Convert #env to istrs. Temporarily disable usage in rustc. Issue #855
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/ext/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/env.rs b/src/comp/syntax/ext/env.rs
index 23feb43d817..c10f835ff29 100644
--- a/src/comp/syntax/ext/env.rs
+++ b/src/comp/syntax/ext/env.rs
@@ -36,7 +36,7 @@ fn expand_syntax_ext(cx: &ext_ctxt, sp: codemap::span, arg: @ast::expr,
 }
 
 fn make_new_str(cx: &ext_ctxt, sp: codemap::span, s: &istr) -> @ast::expr {
-    ret make_new_lit(cx, sp, ast::lit_str(s, ast::sk_rc));
+    ret make_new_lit(cx, sp, ast::lit_str(s, ast::sk_unique));
 }
 //
 // Local Variables: