Convert ty::ty_uniq to contain a mutable type

Issue #409
This commit is contained in:
Brian Anderson 2011-09-21 18:54:54 -07:00
parent 4d088bd528
commit 1b3023e4d0
9 changed files with 45 additions and 29 deletions

View file

@ -101,7 +101,7 @@ fn ty_to_str(cx: ctxt, typ: t) -> str {
ty_char. { "char" }
ty_str. { "str" }
ty_box(tm) { "@" + mt_to_str(cx, tm) }
ty_uniq(t) { "~" + ty_to_str(cx, t) }
ty_uniq(tm) { "~" + mt_to_str(cx, tm) }
ty_vec(tm) { "[" + mt_to_str(cx, tm) + "]" }
ty_type. { "type" }
ty_rec(elems) {