We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa0bec commit 6179ddcCopy full SHA for 6179ddc
compiler/rustc_middle/src/ty/context.rs
@@ -625,7 +625,7 @@ pub struct GlobalCtxt<'tcx> {
625
impl<'tcx> GlobalCtxt<'tcx> {
626
/// Installs `self` in a `TyCtxt` and `ImplicitCtxt` for the duration of
627
/// `f`.
628
- pub fn enter<'a: 'tcx, F, R>(&'a self, f: F) -> R
+ pub fn enter<F, R>(&'tcx self, f: F) -> R
629
where
630
F: FnOnce(TyCtxt<'tcx>) -> R,
631
{
0 commit comments