rustc_mir_build::lints

Function check

Source
pub(crate) fn check<'tcx>(tcx: TyCtxt<'tcx>, body: &Body<'tcx>)