We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45fc0c7 commit fb03726Copy full SHA for fb03726
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 79d27ccb586148eae822276d8513359c9a373f32
+refs/heads/master: ba3a4f6cc6a9a29c67b325d8a6a5d3b081f97773
trunk/src/comp/middle/ty.rs
@@ -630,7 +630,9 @@ fn ty_to_str(ctxt cx, &t typ) -> str {
630
fn ty_to_abbrev_str(ctxt cx, t typ) -> str {
631
auto f = def_to_str;
632
auto ecx = @rec(ds=f, tcx=cx);
633
- ret metadata.Encode.ty_str(ecx, typ);
+ auto s = metadata.Encode.ty_str(ecx, typ);
634
+ if (_str.byte_len(s) >= 64u) { s = _str.substr(s, 0u, 64u); }
635
+ ret s;
636
}
637
638
// Type folds
0 commit comments