about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-01 07:56:49 -0800
committerbors <bors@rust-lang.org>2014-01-01 07:56:49 -0800
commit51ace54597984b221321d1cac0f80c50f9e00f71 (patch)
treeadb03271cc0639f50ffa3706a8f5d58cc7361d4c /src/rustllvm/RustWrapper.cpp
parent2897549d513ad6fa83a4eaee468e691a84d32055 (diff)
parent8f26d0b9b8725fa74dc36fcf4abf45dc1ca8c56a (diff)
downloadrust-51ace54597984b221321d1cac0f80c50f9e00f71.tar.gz
rust-51ace54597984b221321d1cac0f80c50f9e00f71.zip
auto merge of #11254 : huonw/rust/impl-names, r=brson
The resulting symbol names aren't very pretty at all:

    trait Trait { fn method(&self); }
    impl<'a> Trait for ~[(&'a int, fn())] { fn method(&self) {} }

gives

    Trait$$UP$$VEC$$TUP_2$$BP$int$$FN$$::method::...hash...::v0.0

However, at least it contain some reference to the Self type, unlike
`Trait$__extensions__::method:...`, which is what the symbol name used
to be for anything other than `impl Trait for foo::bar::Baz` (which
became, and still becomes, `Trait$Baz::method`).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions