rustc_resolve::diagnosticsFunction find_span_of_binding_until_next_binding
source  fn find_span_of_binding_until_next_binding(
    sess: &Session,
    binding_span: Span,
    use_span: Span,
) -> (bool, Span)
Expand description
Given a binding_span of a binding within a use statement:
then return the span until the next binding or the end of the statement: