rustc_lint::for_loops_over_fallibles

Function extract_iterator_next_call

Source
fn extract_iterator_next_call<'tcx>(
    cx: &LateContext<'_>,
    expr: &Expr<'tcx>,
) -> Option<&'tcx Expr<'tcx>>