rust/src/librustc_metadata
bors 4583dc9b13 Auto merge of #32439 - jseyfried:visible_suggestions, r=nrc
diagnostics: make paths to external items more visible

This PR changes the reported path for an external item so that it is visible from at least one local module (i.e. it does not use any inaccessible external modules) if possible. If the external item's crate was declared with an `extern crate`, the path is guarenteed to use the `extern crate`.

Fixes #23224, fixes #23355, fixes #26635, fixes #27165.

r? @nrc
2016-03-30 21:13:43 -07:00
..
astencode.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00
Cargo.toml rename rustc_const_eval to rustc_const_math 2016-03-30 11:10:21 +02:00
common.rs Compute a salt from arguments passed via -Cmetadata. 2016-03-25 14:07:17 -04:00
creader.rs renumber error from E0522 to E0523 2016-03-25 14:07:20 -04:00
csearch.rs Add method visible_item_path to CStore 2016-03-30 22:00:46 +00:00
cstore.rs Add method visible_item_path to CStore 2016-03-30 22:00:46 +00:00
decoder.rs rename rustc_const_eval to rustc_const_math 2016-03-30 11:10:21 +02:00
diagnostics.rs renumber error from E0522 to E0523 2016-03-25 14:07:20 -04:00
encoder.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00
index.rs
lib.rs rename rustc_const_eval to rustc_const_math 2016-03-30 11:10:21 +02:00
loader.rs
macro_import.rs Make the compiler emit an error if the crate graph contains two crates with the same crate-name and crate-salt but different SVHs. 2016-03-25 14:07:18 -04:00
macros.rs
tls_context.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00
tydecode.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00
tyencode.rs rustc: move cfg, infer, traits and ty from middle to top-level. 2016-03-27 01:05:54 +02:00