Skip to content

Commit

Permalink
Fix stage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Nov 27, 2023
1 parent b2c18d9 commit d528fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,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,
{
Expand Down

0 comments on commit d528fad

Please sign in to comment.