Function rustc_middle::ty::tls::with_context_opt
source ยท pub fn with_context_opt<F, R>(f: F) -> R
Expand description
Allows access to the current ImplicitCtxt
in a closure if one is available.
pub fn with_context_opt<F, R>(f: F) -> R
Allows access to the current ImplicitCtxt
in a closure if one is available.