diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-27 22:40:54 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-04-09 12:17:34 -0400 |
| commit | ceff692a023ac37a5a8049be0b38551ee36093c7 (patch) | |
| tree | 4573f92e9e49aef3d7e1385dcd06089d1f931bdb | |
| parent | 535151ed03ba629393abcc6f927f38c1919ed70e (diff) | |
| download | rust-ceff692a023ac37a5a8049be0b38551ee36093c7.tar.gz rust-ceff692a023ac37a5a8049be0b38551ee36093c7.zip | |
Fix stage 2
| -rw-r--r-- | compiler/rustc_middle/src/ty/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index 0daf83162db..6275c5d2a11 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -757,7 +757,7 @@ pub struct GlobalCtxt<'tcx> { impl<'tcx> GlobalCtxt<'tcx> { /// Installs `self` in a `TyCtxt` and `ImplicitCtxt` for the duration of /// `f`. - pub fn enter<'a: 'tcx, F, R>(&'a self, f: F) -> R + pub fn enter<F, R>(&'tcx self, f: F) -> R where F: FnOnce(TyCtxt<'tcx>) -> R, { |
