We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
QueryCache::lookup
1 parent 44bfb65 commit 08dec89Copy full SHA for 08dec89
compiler/rustc_query_system/src/query/caches.rs
@@ -21,9 +21,6 @@ pub trait QueryCache: Sized {
21
type Value: Copy + Debug;
22
23
/// Checks if the query is already computed and in the cache.
24
- /// It returns the shard index and a lock guard to the shard,
25
- /// which will be used if the query is not in the cache and we need
26
- /// to compute it.
27
fn lookup(&self, key: &Self::Key) -> Option<(Self::Value, DepNodeIndex)>;
28
29
fn complete(&self, key: Self::Key, value: Self::Value, index: DepNodeIndex);
0 commit comments