diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-03-29 18:03:07 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-03-29 18:03:07 +0200 |
| commit | cd7a011f37c51d6cb367e87c37b4d7bc464da09d (patch) | |
| tree | f354fba3a7b2f896264ff11ae10bbbe37c2b5f93 /compiler/rustc_query_impl/src/lib.rs | |
| parent | 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 (diff) | |
| download | rust-cd7a011f37c51d6cb367e87c37b4d7bc464da09d.tar.gz rust-cd7a011f37c51d6cb367e87c37b4d7bc464da09d.zip | |
Don't duplicate the extern providers once for each crate
Diffstat (limited to 'compiler/rustc_query_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index e9314797fbd..00d886000fa 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -19,8 +19,7 @@ extern crate tracing; use rustc_data_structures::fingerprint::Fingerprint; use rustc_data_structures::stable_hasher::{HashStable, StableHasher}; use rustc_errors::{DiagnosticBuilder, Handler}; -use rustc_hir::def_id::CrateNum; -use rustc_index::vec::IndexVec; +use rustc_hir::def_id::LOCAL_CRATE; use rustc_middle::dep_graph; use rustc_middle::ich::StableHashingContext; use rustc_middle::ty::query::{query_keys, query_storage, query_stored, query_values}; |
