rustc_mir_transform::pass_manager

Function should_run_pass

source
pub(crate) fn should_run_pass<'tcx, P>(tcx: TyCtxt<'tcx>, pass: &P) -> bool
where P: MirPass<'tcx> + ?Sized,