diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-08 15:10:41 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-10 15:22:01 -0700 |
| commit | 1f2c18a0afd55bf3a5319d9e3810ec1ac6b3e1bb (patch) | |
| tree | 7cae8ac126922eee38607c2a0032c85cdad7ba0d /src/libstd/io | |
| parent | df533c6e87f5052667b0c03c918f95b51439fdba (diff) | |
| download | rust-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/libstd/io')
| -rw-r--r-- | src/libstd/io/test.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/io/test.rs b/src/libstd/io/test.rs index 14b9b5c1e06..dd874fecc52 100644 --- a/src/libstd/io/test.rs +++ b/src/libstd/io/test.rs @@ -39,7 +39,6 @@ macro_rules! iotest ( use io::process::*; use unstable::running_on_valgrind; use str; - use util; fn f() $b |
