Function stable_mir::with
source · pub fn with<R>(f: impl FnOnce(&mut dyn Context) -> R) -> RExpand description
Loads the current context and calls a function with it. Do not nest these, as that will ICE.
pub fn with<R>(f: impl FnOnce(&mut dyn Context) -> R) -> RLoads the current context and calls a function with it. Do not nest these, as that will ICE.