mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
rustc: Use cnames in ty_to_str again; debugging code crept in
This commit is contained in:
@@ -546,12 +546,10 @@ fn mt_to_str(&ctxt cx, &mt m) -> 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 = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user