]> git.lizzy.rs Git - rust.git/commit
auto merge of #9035 : alexcrichton/rust/fewer-clownshoes, r=huonw
authorbors <bors@rust-lang.org>
Sun, 8 Sep 2013 08:05:59 +0000 (01:05 -0700)
committerbors <bors@rust-lang.org>
Sun, 8 Sep 2013 08:05:59 +0000 (01:05 -0700)
commitb609d022c4df307e4d68499b063c81a9ecb1e9cf
treed241f3b7721b5eb5e32e690b2f3f26aed1723f14
parent5591dce52eb35730e89070c7e104e1f1bf0a8ab3
parent13d33064a6c8b8f9c167250ec9a84fc8daaf56d5
auto merge of #9035 : alexcrichton/rust/fewer-clownshoes, r=huonw

This removes another large chunk of this odd 'clownshoes' identifier showing up
in symbol names. These all originated from external crates because the encoded
items were encoded independently of the paths calculated in ast_map. The
encoding of these paths now uses the helper function in ast_map to calculate the
"pretty name" for an impl block.

Unfortunately there is still no information about generics in the symbol name,
but it's certainly vastly better than before

    hash::__extensions__::write::_version::v0.8

becomes

    hash::Writer$SipState::write::hversion::v0.8

This also fixes bugs in which lots of methods would show up as `meth_XXX`, they
now only show up as `meth` and throw some extra characters onto the version
string.
src/librustc/middle/trans/debuginfo.rs
src/librustc/middle/trans/meth.rs