clippy_utils::qualify_min_const_fn

Function check_statement

source
fn check_statement<'tcx>(
    tcx: TyCtxt<'tcx>,
    body: &Body<'tcx>,
    def_id: DefId,
    statement: &Statement<'tcx>,
    msrv: &Msrv,
) -> Result<(), (Span, Cow<'static, str>)>