clippy_utils::qualify_min_const_fn

Function check_terminator

Source
fn check_terminator<'tcx>(
    tcx: TyCtxt<'tcx>,
    body: &Body<'tcx>,
    terminator: &Terminator<'tcx>,
    msrv: &Msrv,
) -> Result<(), (Span, Cow<'static, str>)>