Skip to main content

find_for_loop_span

Function find_for_loop_span 

Source
fn find_for_loop_span<'hir>(
    tcx: TyCtxt<'hir>,
    body_id: BodyId,
    issue_span: Span,
) -> Option<Span>
Expand description

Find the Match expression desugared from a for loop, whose IntoIter::into_iter argument contains issue_span. Returns the for-loop match expression span.