parent
9945052e64
commit
ebde8cfa61
6 changed files with 28 additions and 7 deletions
|
|
@ -351,8 +351,8 @@ pub fn ty_to_str(cx: &ctxt, typ: t) -> String {
|
|||
ty_uint(t) => ast_util::uint_ty_to_str(t, None,
|
||||
ast_util::AutoSuffix).to_string(),
|
||||
ty_float(t) => ast_util::float_ty_to_str(t).to_string(),
|
||||
ty_box(typ) => format!("@{}", ty_to_str(cx, typ)),
|
||||
ty_uniq(typ) => format!("~{}", ty_to_str(cx, typ)),
|
||||
ty_box(typ) => format!("Gc<{}>", ty_to_str(cx, typ)),
|
||||
ty_uniq(typ) => format!("Box<{}>", ty_to_str(cx, typ)),
|
||||
ty_ptr(ref tm) => format!("*{}", mt_to_str(cx, tm)),
|
||||
ty_rptr(r, ref tm) => {
|
||||
let mut buf = region_ptr_to_str(cx, r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue