diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-18 11:46:52 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-18 13:09:50 -0700 |
| commit | c2d2dad093401ad97f19f96def0aa3f3f2a863bb (patch) | |
| tree | 5ff3de54979a559df498e5c545fb02b3a348fd1b /src/comp/syntax | |
| parent | ec898244f7b543dfe4c5a04fd42e638d7c521f7b (diff) | |
| download | rust-c2d2dad093401ad97f19f96def0aa3f3f2a863bb.tar.gz rust-c2d2dad093401ad97f19f96def0aa3f3f2a863bb.zip | |
Remove ast::ty_vec
Diffstat (limited to 'src/comp/syntax')
| -rw-r--r-- | src/comp/syntax/ast.rs | 1 | ||||
| -rw-r--r-- | src/comp/syntax/print/pprust.rs | 1 | ||||
| -rw-r--r-- | src/comp/syntax/visit.rs | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index 2bafc3da800..468675c070e 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -439,7 +439,6 @@ tag ty_ { ty_str; ty_istr; // interior string ty_box(mt); - ty_vec(mt); ty_ivec(mt); // interior vector ty_ptr(mt); ty_task; diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs index 900b141b67f..8b1600413c4 100644 --- a/src/comp/syntax/print/pprust.rs +++ b/src/comp/syntax/print/pprust.rs @@ -284,7 +284,6 @@ fn print_type(s: &ps, ty: &@ast::ty) { ast::ty_str. { word(s.s, "str"); } ast::ty_istr. { word(s.s, "istr"); } ast::ty_box(mt) { word(s.s, "@"); print_mt(s, mt); } - ast::ty_vec(mt) { word(s.s, "vec<"); print_mt(s, mt); word(s.s, ">"); } ast::ty_ivec(mt) { word(s.s, "["); alt mt.mut { diff --git a/src/comp/syntax/visit.rs b/src/comp/syntax/visit.rs index f7d3832aad6..6149319ba7b 100644 --- a/src/comp/syntax/visit.rs +++ b/src/comp/syntax/visit.rs @@ -124,7 +124,6 @@ fn visit_ty<E>(t: &@ty, e: &E, v: &vt<E>) { ty_str. {/* no-op */ } ty_istr. {/* no-op */ } ty_box(mt) { v.visit_ty(mt.ty, e, v); } - ty_vec(mt) { v.visit_ty(mt.ty, e, v); } ty_ivec(mt) { v.visit_ty(mt.ty, e, v); } ty_ptr(mt) { v.visit_ty(mt.ty, e, v); } ty_port(t) { v.visit_ty(t, e, v); } |
