Add a clause ty_ptr to ppaux::ty_to_str

Closes #1383
This commit is contained in:
Marijn Haverbeke 2012-01-02 15:42:13 +01:00
parent 15be2fc73a
commit cdd806d324

View File

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