rustc: Pretty print interior vector types
This commit is contained in:
parent
68887fd45b
commit
9210afc8a5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user