mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Revert "Make [] and ~[] both construct ivecs"
This reverts commit 60e1cead9b.
The check-fast driver can't work with this commit. Need to wait until main
taks ivecs
This commit is contained in:
@@ -803,7 +803,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, ast::sk_rc);
|
||||
} else if (p.peek() == token::POUND_LT) {
|
||||
p.bump();
|
||||
let ty = parse_ty(p);
|
||||
|
||||
Reference in New Issue
Block a user