diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs index b9197f1a63fd..d18a91f0d000 100644 --- a/src/comp/util/ppaux.rs +++ b/src/comp/util/ppaux.rs @@ -121,7 +121,7 @@ fn ty_to_str(cx: ctxt, typ: t) -> str { if vec::len::(tps) > 0u { let strs: [str] = []; for typ: t in tps { strs += [ty_to_str(cx, typ)]; } - s += "[" + str::connect(strs, ",") + "]"; + s += "<" + str::connect(strs, ",") + ">"; } s }