Function rustc_middle::ty::tls::enter_context
source · [−]pub fn enter_context<'a, 'tcx, F, R>(context: &ImplicitCtxt<'a, 'tcx>, f: F) -> Rwhere
F: FnOnce(&ImplicitCtxt<'a, 'tcx>) -> R,
Expand description
Sets context
as the new current ImplicitCtxt
for the duration of the function f
.