stable_mir::compiler_interface

Function run

Source
pub fn run<F, T>(context: &dyn Context, f: F) -> Result<T, Error>
where F: FnOnce() -> T,