2
2
//! generate the actual methods on tcx which find and execute the provider,
3
3
//! manage the caches, and so forth.
4
4
5
- use crate :: rustc_middle:: dep_graph:: DepContext ;
6
- use crate :: rustc_middle:: ty:: TyEncoder ;
7
5
use crate :: QueryConfigRestored ;
8
6
use rustc_data_structures:: stable_hasher:: { Hash64 , HashStable , StableHasher } ;
9
7
use rustc_data_structures:: sync:: Lock ;
@@ -13,14 +11,14 @@ use rustc_errors::DiagInner;
13
11
use rustc_index:: Idx ;
14
12
use rustc_middle:: dep_graph:: dep_kinds;
15
13
use rustc_middle:: dep_graph:: {
16
- self , DepKind , DepKindStruct , DepNode , DepNodeIndex , SerializedDepNodeIndex ,
14
+ self , DepContext , DepKind , DepKindStruct , DepNode , DepNodeIndex , SerializedDepNodeIndex ,
17
15
} ;
18
16
use rustc_middle:: query:: on_disk_cache:: AbsoluteBytePos ;
19
17
use rustc_middle:: query:: on_disk_cache:: { CacheDecoder , CacheEncoder , EncodedDepNodeIndex } ;
20
18
use rustc_middle:: query:: Key ;
21
19
use rustc_middle:: ty:: print:: with_reduced_queries;
22
20
use rustc_middle:: ty:: tls:: { self , ImplicitCtxt } ;
23
- use rustc_middle:: ty:: { self , TyCtxt } ;
21
+ use rustc_middle:: ty:: { self , TyCtxt , TyEncoder } ;
24
22
use rustc_query_system:: dep_graph:: { DepNodeParams , HasDepContext } ;
25
23
use rustc_query_system:: ich:: StableHashingContext ;
26
24
use rustc_query_system:: query:: {
0 commit comments