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 b2c18d9 commit d528fadCopy full SHA for d528fad
compiler/rustc_middle/src/ty/context.rs
@@ -622,7 +622,7 @@ pub struct GlobalCtxt<'tcx> {
622
impl<'tcx> GlobalCtxt<'tcx> {
623
/// Installs `self` in a `TyCtxt` and `ImplicitCtxt` for the duration of
624
/// `f`.
625
- pub fn enter<'a: 'tcx, F, R>(&'a self, f: F) -> R
+ pub fn enter<F, R>(&'tcx self, f: F) -> R
626
where
627
F: FnOnce(TyCtxt<'tcx>) -> R,
628
{
0 commit comments