diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-11-03 20:50:46 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-06 18:41:50 +0000 |
| commit | 84873f86138bd5a2f7de73ef3b746f419ed13b8b (patch) | |
| tree | 032d82bdbbc0c98375a61484db86cc50fcf026fa /compiler/rustc_query_impl | |
| parent | cdeddae4f6f0934d9cc895fe1cacccba78ff1981 (diff) | |
| download | rust-84873f86138bd5a2f7de73ef3b746f419ed13b8b.tar.gz rust-84873f86138bd5a2f7de73ef3b746f419ed13b8b.zip | |
Remove 'tcx lifetime from OnDiskCache
Diffstat (limited to 'compiler/rustc_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index a1917fed4d9..d2bb0b3f277 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -198,12 +198,12 @@ trait QueryConfigRestored<'tcx> { -> Self::RestoredValue; } -pub fn query_system<'tcx>( +pub fn query_system<'a>( local_providers: Providers, extern_providers: ExternProviders, - on_disk_cache: Option<OnDiskCache<'tcx>>, + on_disk_cache: Option<OnDiskCache>, incremental: bool, -) -> QuerySystem<'tcx> { +) -> QuerySystem<'a> { QuerySystem { states: Default::default(), arenas: Default::default(), |
