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 535151e commit ceff692Copy full SHA for ceff692
compiler/rustc_middle/src/ty/context.rs
@@ -757,7 +757,7 @@ pub struct GlobalCtxt<'tcx> {
757
impl<'tcx> GlobalCtxt<'tcx> {
758
/// Installs `self` in a `TyCtxt` and `ImplicitCtxt` for the duration of
759
/// `f`.
760
- pub fn enter<'a: 'tcx, F, R>(&'a self, f: F) -> R
+ pub fn enter<F, R>(&'tcx self, f: F) -> R
761
where
762
F: FnOnce(TyCtxt<'tcx>) -> R,
763
{
0 commit comments