Make [] and ~[] both construct ivecs
It's no longer possible to create an exterior vec
This commit is contained in:
parent
34abbde694
commit
60e1cead9b
@ -806,7 +806,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_rc);
|
||||
ex = ast::expr_vec(es, mut, ast::sk_unique);
|
||||
} else if (p.peek() == token::POUND_LT) {
|
||||
p.bump();
|
||||
let ty = parse_ty(p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user