rustc_lint::for_loops_over_fallibles

Function extract_for_loop

Source
fn extract_for_loop<'tcx>(
    expr: &Expr<'tcx>,
) -> Option<(&'tcx Pat<'tcx>, &'tcx Expr<'tcx>)>