rustc: Remove needless lifetimes
This commit is contained in:
parent
65bd2a6a73
commit
3dde32ca97
109 changed files with 266 additions and 320 deletions
|
@ -337,9 +337,9 @@ where
|
|||
/// 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue