]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_system/src/query/plumbing.rs
Rollup merge of #106078 - nikic:filecheck-context, r=Mark-Simulacrum
[rust.git] / compiler / rustc_query_system / src / query / plumbing.rs
index c3a2410dacaa7931ecfe665e78d91b2f3df276a2..53844dab9db59490992e073f0b62bf742df3f223 100644 (file)
@@ -340,9 +340,9 @@ enum TryGetJob<'tcx, K, D>
 /// which will be used if the query is not in the cache and we need
 /// to compute it.
 #[inline]
-pub fn try_get_cached<'a, Tcx, C, R, OnHit>(
+pub fn try_get_cached<Tcx, C, R, OnHit>(
     tcx: Tcx,
-    cache: &'a C,
+    cache: &C,
     key: &C::Key,
     // `on_hit` can be called while holding a lock to the query cache
     on_hit: OnHit,