about summary refs log tree commit diff
path: root/src/comp/syntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/parse/parser.rs')
-rw-r--r--src/comp/syntax/parse/parser.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index da033bd9f1f..9357b11fa03 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -885,7 +885,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
         let es =
             parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
                              p);
-        ex = ast::expr_vec(es, mut, ast::sk_unique);
+        ex = ast::expr_vec(es, mut);
     } else if (p.peek() == token::POUND_LT) {
         p.bump();
         let ty = parse_ty(p, false);
@@ -909,7 +909,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
             let es =
                 parse_seq_to_end(token::RBRACKET, some(token::COMMA),
                                  parse_expr, p);
-            ex = ast::expr_vec(es, mut, ast::sk_unique);
+            ex = ast::expr_vec(es, mut);
           }
           token::LIT_STR(s) {
             p.bump();
@@ -1079,7 +1079,7 @@ fn parse_syntax_ext_naked(p: &parser, lo: uint) -> @ast::expr {
     };
     let hi = es.span.hi;
     let e = mk_expr(p, es.span.lo, hi,
-                    ast::expr_vec(es.node, ast::imm, ast::sk_rc));
+                    ast::expr_vec(es.node, ast::imm));
     ret mk_mac_expr(p, lo, hi, ast::mac_invoc(pth, e, none));
 }
 
@@ -1636,7 +1636,7 @@ fn stmt_ends_with_semi(stmt: &ast::stmt) -> bool {
       }
       ast::stmt_expr(e, _) {
         ret alt e.node {
-              ast::expr_vec(_, _, _) { true }
+              ast::expr_vec(_, _) { true }
               ast::expr_rec(_, _) { true }
               ast::expr_tup(_) { true }
               ast::expr_call(_, _) { true }