[−][src]Function rustc_resolve::diagnostics::find_span_of_binding_until_next_binding
pub(crate) fn find_span_of_binding_until_next_binding(
sess: &Session,
binding_span: Span,
use_span: Span
) -> (bool, Span)
Given a binding_span of a binding within a use statement:
use foo::{a, b, c}; ^
then return the span until the next binding or the end of the statement:
use foo::{a, b, c}; ^^^