about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-08 15:10:41 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-10 15:22:01 -0700
commit1f2c18a0afd55bf3a5319d9e3810ec1ac6b3e1bb (patch)
tree7cae8ac126922eee38607c2a0032c85cdad7ba0d /src/rustllvm/RustWrapper.cpp
parentdf533c6e87f5052667b0c03c918f95b51439fdba (diff)
downloadrust-1f2c18a0afd55bf3a5319d9e3810ec1ac6b3e1bb.tar.gz
rust-1f2c18a0afd55bf3a5319d9e3810ec1ac6b3e1bb.zip
rustc: Don't allow priv use to shadow pub use
Previously, a private use statement would shadow a public use statement, all of
a sudden publicly exporting the privately used item. The correct behavior here
is to only shadow the use for the module in question, but for now it just
reverts the entire name to private so the pub use doesn't have much effect.

The behavior isn't exactly what we want, but this no longer has backwards
compatibility hazards.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions