Do not require QueryCtxt for cache_on_disk.
This commit is contained in:
parent
7c0920f5fb
commit
138e96b719
4 changed files with 5 additions and 6 deletions
|
@ -1033,7 +1033,7 @@ where
|
|||
if res.is_err() {
|
||||
return;
|
||||
}
|
||||
if Q::cache_on_disk(tcx, &key) {
|
||||
if Q::cache_on_disk(*tcx.dep_context(), &key) {
|
||||
let dep_node = SerializedDepNodeIndex::new(dep_node.index());
|
||||
|
||||
// Record position of the cache entry.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue