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