rustc: Use cnames in ty_to_str again; debugging code crept in
This commit is contained in:
parent
cc06bd4aa5
commit
99c72b98b5
@ -546,12 +546,10 @@ fn ty_to_str(&ctxt cx, &t typ) -> str {
|
||||
ret mstr + ty_to_str(cx, m.ty);
|
||||
}
|
||||
|
||||
/*alt (cname(cx, typ)) {
|
||||
case (some(?cs)) {
|
||||
ret cs;
|
||||
}
|
||||
case (_) { }
|
||||
}*/
|
||||
alt (cname(cx, typ)) {
|
||||
case (some(?cs)) { ret cs; }
|
||||
case (_) { /* fall through */ }
|
||||
}
|
||||
|
||||
auto s = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user