about summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-18 11:46:52 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-18 13:09:50 -0700
commitc2d2dad093401ad97f19f96def0aa3f3f2a863bb (patch)
tree5ff3de54979a559df498e5c545fb02b3a348fd1b /src/comp/syntax
parentec898244f7b543dfe4c5a04fd42e638d7c521f7b (diff)
downloadrust-c2d2dad093401ad97f19f96def0aa3f3f2a863bb.tar.gz
rust-c2d2dad093401ad97f19f96def0aa3f3f2a863bb.zip
Remove ast::ty_vec
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/ast.rs1
-rw-r--r--src/comp/syntax/print/pprust.rs1
-rw-r--r--src/comp/syntax/visit.rs1
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); }