mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Fix stage 2
This commit is contained in:
parent
535151ed03
commit
ceff692a02
@ -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,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user