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 aae047c commit 2ac5593Copy full SHA for 2ac5593
compiler/rustc_middle/src/ty/context.rs
@@ -728,7 +728,7 @@ pub struct GlobalCtxt<'tcx> {
728
impl<'tcx> GlobalCtxt<'tcx> {
729
/// Installs `self` in a `TyCtxt` and `ImplicitCtxt` for the duration of
730
/// `f`.
731
- pub fn enter<'a: 'tcx, F, R>(&'a self, f: F) -> R
+ pub fn enter<F, R>(&'tcx self, f: F) -> R
732
where
733
F: FnOnce(TyCtxt<'tcx>) -> R,
734
{
0 commit comments