rustc_mir_transform::lint

Function lint_body

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