about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-06 23:29:56 +0000
committerbors <bors@rust-lang.org>2018-09-06 23:29:56 +0000
commitad7b22ef29eb7e6a2ca8395b595afaf6ec26efee (patch)
treee1a70231d7cd80059df4a641c959269e0cab0693 /src/libsyntax/parse
parenta8c11d216b04abe21a03220b344f1415e1d6ebd1 (diff)
parent31fce914b27497addbbc9f8235fdecc0962f2f98 (diff)
downloadrust-ad7b22ef29eb7e6a2ca8395b595afaf6ec26efee.tar.gz
rust-ad7b22ef29eb7e6a2ca8395b595afaf6ec26efee.zip
Auto merge of #54005 - eddyb:uniform-paths-self-resolve, r=petrochenkov
rustc_resolve: allow `use crate_name;` under `uniform_paths`.

Specifically, `use crate_name;` and `use crate_name::{self, ...};` are now allowed, whereas previously there would produce a (false positive) ambiguity error, as the ambiguity detection code was seeing the `crate_name` import as a locally-available definition to conflict with the crate.

r? @petrochenkov cc @aturon @joshtriplett @Centril
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions