Skip to content

Commit 69d4838

Browse files
committed
Stop parsing old-style vec types
1 parent df10df8 commit 69d4838

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/comp/syntax/parse/parser.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,11 +568,6 @@ fn parse_ty(p: &parser, colons_before_params: bool) -> @ast::ty {
568568
ast::ty_constr(@spanned(lo, hi, t),
569569
parse_type_constraints(p));
570570
}
571-
} else if (eat_word(p, "vec")) {
572-
expect(p, token::LT);
573-
t = ast::ty_vec(parse_mt(p));
574-
hi = p.get_hi_pos();
575-
expect_gt(p);
576571
} else if (p.peek() == token::LBRACKET) {
577572
expect(p, token::LBRACKET);
578573
t = ast::ty_ivec(parse_mt(p));

0 commit comments

Comments
 (0)