diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-07-07 12:30:51 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-07-07 13:31:11 -0700 |
| commit | 4304f8d4f6d9e4e7a7877baabd93b8895fb809b2 (patch) | |
| tree | 1bf176a2b304f124bf841ebb324912d9f3e7b638 /src/comp/util/ppaux.rs | |
| parent | e29ef1bec276ddbb77bb4663aeb0208dccdaf9ac (diff) | |
| download | rust-4304f8d4f6d9e4e7a7877baabd93b8895fb809b2.tar.gz rust-4304f8d4f6d9e4e7a7877baabd93b8895fb809b2.zip | |
Remove duplicate definition of def_to_str from middle::ty
Diffstat (limited to 'src/comp/util/ppaux.rs')
| -rw-r--r-- | src/comp/util/ppaux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/util/ppaux.rs b/src/comp/util/ppaux.rs index 170a8157a17..27333dd1a0e 100644 --- a/src/comp/util/ppaux.rs +++ b/src/comp/util/ppaux.rs @@ -151,7 +151,7 @@ fn ty_to_str(&ctxt cx, &t typ) -> str { } fn ty_to_short_str(&ctxt cx, t typ) -> str { - auto f = def_to_str; + auto f = metadata::encoder::def_to_str; auto ecx = @rec(ds=f, tcx=cx, abbrevs=metadata::tyencode::ac_no_abbrevs); auto s = metadata::tyencode::ty_str(ecx, typ); if (str::byte_len(s) >= 32u) { s = str::substr(s, 0u, 32u); } |
