about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-21 12:54:10 +0000
committerbors <bors@rust-lang.org>2018-11-21 12:54:10 +0000
commitee7bb94044bbdc1689cd29fcc585dd7d49a2672e (patch)
tree216057e943e8bafb46d4bb13a7dfbf26e8a4812c /src/libstd
parent289ad6e9922683807d455ca0020dc2a8f7bd1a7b (diff)
parent1e4cf740cfaf5332722ae6ff717ceaed181a4caf (diff)
downloadrust-ee7bb94044bbdc1689cd29fcc585dd7d49a2672e.tar.gz
rust-ee7bb94044bbdc1689cd29fcc585dd7d49a2672e.zip
Auto merge of #56117 - petrochenkov:iempty, r=eddyb
resolve: Make "empty import canaries" invisible from other crates

Empty imports `use prefix::{};` are desugared into `use prefix::{self as _};` to make sure the prefix is checked for privacy/stability/etc.
This caused issues in cross-crate scenarios because gensyms are lost in crate metadata (the `_` is a gensym).

Fixes https://github.com/rust-lang/rust/issues/55811
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions