]> git.lizzy.rs Git - rust.git/commit
auto merge of #8875 : alexcrichton/rust/fix-inner-static-library-bug, r=huonw
authorbors <bors@rust-lang.org>
Thu, 5 Sep 2013 06:55:46 +0000 (23:55 -0700)
committerbors <bors@rust-lang.org>
Thu, 5 Sep 2013 06:55:46 +0000 (23:55 -0700)
commit3c3ae1d0e26c9ae0906dc57daa14bb9e4627e3c8
tree47ce723467db1b41debcb0777bf3c1ddfd5147ff
parent2bd628eafab1225cdc59c468c32868302b5e92ed
parent7baff57f268eff79cd8ed6a8d7fd48d4b3f81878
auto merge of #8875 : alexcrichton/rust/fix-inner-static-library-bug, r=huonw

These commits fix bugs related to identically named statics in functions of implementations in various situations. The commit messages have most of the information about what bugs are being fixed and why.

As a bonus, while I was messing around with name mangling, I improved the backtraces we'll get in gdb by removing `__extensions__` for the trait/type being implemented and by adding the method name as well. Yay!
src/librustc/back/link.rs
src/librustc/metadata/decoder.rs
src/librustc/metadata/encoder.rs
src/librustc/middle/trans/base.rs
src/librustc/middle/trans/common.rs
src/librustc/middle/trans/meth.rs
src/librustc/util/ppaux.rs
src/libsyntax/ast_map.rs