Function rustc_middle::ty::context::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.