diff options
| author | bors <bors@rust-lang.org> | 2018-09-06 23:29:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-06 23:29:56 +0000 |
| commit | ad7b22ef29eb7e6a2ca8395b595afaf6ec26efee (patch) | |
| tree | e1a70231d7cd80059df4a641c959269e0cab0693 /src/libsyntax | |
| parent | a8c11d216b04abe21a03220b344f1415e1d6ebd1 (diff) | |
| parent | 31fce914b27497addbbc9f8235fdecc0962f2f98 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
