]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9206 : alexcrichton/rust/issue-9188, r=catamorphism
authorbors <bors@rust-lang.org>
Mon, 16 Sep 2013 09:45:49 +0000 (02:45 -0700)
committerbors <bors@rust-lang.org>
Mon, 16 Sep 2013 09:45:49 +0000 (02:45 -0700)
While they may have the same name within various scopes, this changes static
names to use path_pretty_name to append some hash information at the end of the
symbol. We're then guaranteed that each static has a unique NodeId, so this
NodeId is as the "hash" of the pretty name.

Closes #9188

1  2 
src/librustc/middle/trans/base.rs

Simple merge