about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-17 00:28:16 +0000
committerbors <bors@rust-lang.org>2018-08-17 00:28:16 +0000
commitf34933ba0ab615328de1f7323ad54376c8fa4dc1 (patch)
treebb253b969e159691d5d66e6b9297cf9caafbeca6 /src/test/incremental/thinlto
parent81ba448f7581fbde530db2e0bb23597cea35d9bb (diff)
parent7a87e30f410edac790bffa7ef10d1d184f3733b9 (diff)
downloadrust-f34933ba0ab615328de1f7323ad54376c8fa4dc1.tar.gz
rust-f34933ba0ab615328de1f7323ad54376c8fa4dc1.zip
Auto merge of #53427 - eddyb:uniform-paths-diagnostics, r=varkor
rustc_resolve: overhaul `#![feature(uniform_paths)]` error reporting.

Fixes #53408 by only considering external crates to conflict within their (type/module) namespace, *not* with the value or macro namespaces, and also by adding a special-cased error for redundant `use crate_name;` imports (without actually allowing them).
Also, all canaries for a given import are grouped into one diagnostic per namespace, in order to make block-scoped ambiguities clearer.
See changed/added tests for more details.

r? @petrochenkov cc @aturon @joshtriplett
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions