rustc: Pretty print interior vector types

This commit is contained in:
Patrick Walton 2011-06-16 14:01:02 -07:00
parent 68887fd45b
commit 9210afc8a5

View File

@ -201,6 +201,12 @@ fn print_type(&ps s, &ast::ty ty) {
print_mt(s, mt);
word(s.s, "]");
}
case (ast::ty_ivec(?mt)) {
print_type(s, *mt.ty);
word(s.s, "[");
print_mutability(s, mt.mut);
word(s.s, "]");
}
case (ast::ty_port(?t)) {
word(s.s, "port[");
print_type(s, *t);