[][src]Function rustc::ty::tls::enter_context

pub fn enter_context<'a, 'gcx: 'tcx, 'tcx, F, R>(
    context: &ImplicitCtxt<'a, 'gcx, 'tcx>,
    f: F
) -> R where
    F: FnOnce(&ImplicitCtxt<'a, 'gcx, 'tcx>) -> R, 
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Sets context as the new current ImplicitCtxt for the duration of the function f