rust/src/librustc_metadata
bors 61100840e5 Auto merge of #46419 - jseyfried:all_imports_in_metadata, r=nrc
Record all imports (`use`, `extern crate`) in the crate metadata

This PR adds non-`pub` `use` and `extern crate` imports in the crate metadata since hygienic macros invoked in other crates may use them. We already include all other non-`pub` items in the crate metadata. This improves import suggestions in some cases.

Fixes #42337.

r? @nrc
2017-12-13 08:32:25 +00:00
..
astencode.rs incr.comp.: Hash spans unconditionally for full accuracy. 2017-12-08 10:02:26 +01:00
build.rs
Cargo.toml Move unused-extern-crate to late pass 2017-08-27 19:02:24 +09:00
creader.rs Resolve absolute paths as extern under a feature flag 2017-12-13 00:02:23 +03:00
cstore_impl.rs Include non-pub use and extern crate items in the crate metadata for macros 2.0. 2017-12-05 17:23:01 -08:00
cstore.rs rustc_driver: base extern query providers on local ones. 2017-11-12 18:20:15 +02:00
decoder.rs Auto merge of #46419 - jseyfried:all_imports_in_metadata, r=nrc 2017-12-13 08:32:25 +00:00
diagnostics.rs Clarify failure condition on tests 2017-09-05 11:55:01 -07:00
dynamic_lib.rs rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
encoder.rs Include non-pub use and extern crate items in the crate metadata for macros 2.0. 2017-12-05 17:23:01 -08:00
index_builder.rs incr.comp.: Remove on-export crate metadata hashing. 2017-11-29 16:28:25 +01:00
index.rs
isolated_encoder.rs incr.comp.: Remove on-export crate metadata hashing. 2017-11-29 16:28:25 +01:00
lib.rs rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
link_args.rs rustc: Remove a number of mutable fields in cstore 2017-09-05 07:37:28 -07:00
locator.rs Use multiline text for crate conflict diagnostics 2017-11-22 18:45:32 -08:00
native_libs.rs Fix issues uncovered by rebasing: 2017-09-18 11:25:34 +02:00
schema.rs remove the generator_sigs map, query, and plumbing 2017-11-18 07:47:38 -05:00