From eb70267e5e731a5b489aabf0e2214a9c4a264e26 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 30 Aug 2011 14:57:59 -0700 Subject: Convert #env to istrs. Temporarily disable usage in rustc. Issue #855 --- src/comp/syntax/ext/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/syntax') 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: -- cgit 1.4.1-3-g733a5