Function rustc_smir::rustc_internal::run

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