rustc_smir::rustc_internal

Function run

Source
pub fn run<F, T>(tcx: TyCtxt<'_>, f: F) -> Result<T, Error>
where F: FnOnce() -> T,