Function rustc_smir::rustc_internal::run

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