about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-11 20:12:26 +0000
committerbors <bors@rust-lang.org>2017-01-11 20:12:26 +0000
commitb27c7095606ad9386a7038d7af03abd7f948f02f (patch)
tree1eecb27b7a34eb81167a955d5d2a777e007d5188 /src/rustllvm/RustWrapper.cpp
parent513d942a7ef853edf46fc3a5965e3baed42675ca (diff)
parentd86e487b0b1025c5e8b9b69b318af9ac76dcf693 (diff)
downloadrust-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