diff options
| author | bors <bors@rust-lang.org> | 2016-02-01 04:52:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-02-01 04:52:12 +0000 |
| commit | 654f68dd50b72d1d812b0760f1b71d7c366f6f55 (patch) | |
| tree | d07cc489e252e70593b48ff64f511443ec7e8209 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 094c5b0d61a0fb19a1cb94dddd6f59a975089b4b (diff) | |
| parent | 7a69ee0c4806d30bbda5cc0277f3d0f38c3266c8 (diff) | |
| download | rust-654f68dd50b72d1d812b0760f1b71d7c366f6f55.tar.gz rust-654f68dd50b72d1d812b0760f1b71d7c366f6f55.zip | |
Auto merge of #30866 - jseyfried:fix_shadowed_use_visibility, r=nrc
This reverts PR #30324, fixing bug #30159 in which a public a glob import makes public any preceding imports that share a name with an item in the module being glob imported from.
For example,
```rust
pub fn f() {}
pub mod foo {
fn f() {}
}
mod bar {
use f;
use f as g;
pub use foo::*; // This makes the first import public but does not affect the second import.
}
```
This is a [breaking-change].
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
