X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_query_system%2Fsrc%2Fquery%2Fconfig.rs;fp=compiler%2Frustc_query_system%2Fsrc%2Fquery%2Fconfig.rs;h=1ffcdbce6fc8ef1c6835b02979170d1f3bd72172;hb=9deed6f74ea2df0ba08fb72342bef4eb303d0777;hp=b1ff1e15a9db53e0367d0fc895f2056c78c809ac;hpb=3b348d932aa5c9884310d025cf7c516023fd0d9a;p=rust.git diff --git a/compiler/rustc_query_system/src/query/config.rs b/compiler/rustc_query_system/src/query/config.rs index b1ff1e15a9d..1ffcdbce6fc 100644 --- a/compiler/rustc_query_system/src/query/config.rs +++ b/compiler/rustc_query_system/src/query/config.rs @@ -4,7 +4,7 @@ use crate::dep_graph::SerializedDepNodeIndex; use crate::ich::StableHashingContext; use crate::query::caches::QueryCache; -use crate::query::{QueryCacheStore, QueryContext, QueryState}; +use crate::query::{QueryContext, QueryState}; use rustc_data_structures::fingerprint::Fingerprint; use rustc_errors::DiagnosticBuilder; @@ -64,7 +64,7 @@ fn query_state<'a>(tcx: CTX) -> &'a QueryState CTX: 'a; // Don't use this method to access query results, instead use the methods on TyCtxt - fn query_cache<'a>(tcx: CTX) -> &'a QueryCacheStore + fn query_cache<'a>(tcx: CTX) -> &'a Self::Cache where CTX: 'a;