diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-28 21:12:01 +0200 | 
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-07-18 11:14:07 +0200 | 
| commit | 81241cbf3ae39db6188b7965b34e444f48e7ebbd (patch) | |
| tree | 01ad9c9362f8a592a049d20178a9d520799233a0 /compiler/rustc_macros/src | |
| parent | 68511b574ffe019a5cb3e9fa92605f80d39167bc (diff) | |
| download | rust-81241cbf3ae39db6188b7965b34e444f48e7ebbd.tar.gz rust-81241cbf3ae39db6188b7965b34e444f48e7ebbd.zip | |
Move OnDiskCache to rustc_query_impl.
Diffstat (limited to 'compiler/rustc_macros/src')
| -rw-r--r-- | compiler/rustc_macros/src/query.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_macros/src/query.rs b/compiler/rustc_macros/src/query.rs index 291e7ef045e..dcd36d61bc6 100644 --- a/compiler/rustc_macros/src/query.rs +++ b/compiler/rustc_macros/src/query.rs @@ -367,7 +367,7 @@ fn add_query_description_impl( tcx: QueryCtxt<'tcx>, id: SerializedDepNodeIndex ) -> Option<Self::Value> { - tcx.on_disk_cache.as_ref()?.try_load_query_result(*tcx, id) + tcx.on_disk_cache().as_ref()?.try_load_query_result(*tcx, id) } } }; | 
