diff options
| author | bors <bors@rust-lang.org> | 2017-01-11 20:12:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-11 20:12:26 +0000 |
| commit | b27c7095606ad9386a7038d7af03abd7f948f02f (patch) | |
| tree | 1eecb27b7a34eb81167a955d5d2a777e007d5188 /src/rustllvm/RustWrapper.cpp | |
| parent | 513d942a7ef853edf46fc3a5965e3baed42675ca (diff) | |
| parent | d86e487b0b1025c5e8b9b69b318af9ac76dcf693 (diff) | |
| download | rust-b27c7095606ad9386a7038d7af03abd7f948f02f.tar.gz rust-b27c7095606ad9386a7038d7af03abd7f948f02f.zip | |
Auto merge of #38313 - jseyfried:self_imports, r=nrc
resolve: clean up the semantics of `self` in an import list
Change `self` in an import list `use foo::bar::{self, ...};` to import `bar` only in the type namespace. Today, `bar` is imported in every namespace in which `foo::bar` is defined.
This is a [breaking-change], see https://github.com/rust-lang/rust/issues/38293#issue-194817974 for examples of code that would break.
Fixes #38293.
r? @nrc
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
