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:
parent
1dbf0965a1
commit
28bf190219
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
|
||||||
let es =
|
let es =
|
||||||
parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
|
parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
|
||||||
p);
|
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) {
|
} else if (p.peek() == token::POUND_LT) {
|
||||||
p.bump();
|
p.bump();
|
||||||
let ty = parse_ty(p);
|
let ty = parse_ty(p);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue