fn enter_with_fn<'tcx, TyCtxtFn>(queries: &'tcx rustc_interface::Queries<'tcx>, enter_fn: TyCtxtFn)
where
    TyCtxtFn: Fn(TyCtxt),
{
    queries.global_ctxt().unwrap().peek_mut().enter(enter_fn);
}
/// Call a function which takes the `TyCtxt`.
Call a function which takes the `TyCtxt`.
Call a function which takes the ` TyCtxt ` .
fn enter_with_fn<'tcx, TyCtxtFn>(queries: &'tcx rustc_interface::Queries<'tcx>, enter_fn: TyCtxtFn)
where
    TyCtxtFn: Fn(TyCtxt),
{
    queries.global_ctxt().unwrap().peek_mut().enter(enter_fn);
}
fn enter_with_fn < ' tcx , TyCtxtFn > ( queries : & ' tcx rustc_interface :: Queries < ' tcx > , enter_fn : TyCtxtFn ) where TyCtxtFn : Fn ( TyCtxt ) , { queries . global_ctxt ( ) . unwrap ( ) . peek_mut ( ) . enter ( enter_fn ) ; }
Call a function which takes the `TyCtxt`.
Call a function which takes the ` TyCtxt ` .
queries
&'tcx rustc_interface::Queries<'tcx>
enter_fn
TyCtxtFn
queries
&'tcx rustc_interface::Queries<'tcx>
enter_fn
TyCtxtFn