1
Fork 0

Do not require QueryCtxt for cache_on_disk.

This commit is contained in:
Camille GILLOT 2021-10-23 18:12:43 +02:00
parent 7c0920f5fb
commit 138e96b719
4 changed files with 5 additions and 6 deletions

View file

@ -71,5 +71,5 @@ pub trait QueryDescription<CTX: QueryContext>: QueryConfig {
// Don't use this method to compute query results, instead use the methods on TyCtxt
fn make_vtable(tcx: CTX, key: &Self::Key) -> QueryVtable<CTX, Self::Key, Self::Value>;
fn cache_on_disk(tcx: CTX, key: &Self::Key) -> bool;
fn cache_on_disk(tcx: CTX::DepContext, key: &Self::Key) -> bool;
}