Function rustc::ty::tls::enter
[−]
[src]
pub fn enter<'a, 'gcx: 'tcx, 'tcx, F, R>(
gcx: &'a GlobalCtxt<'gcx>,
interners: &'a CtxtInterners<'tcx>,
f: F
) -> R where
F: FnOnce(TyCtxt<'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?