Function rustc_resolve::diagnostics::find_span_of_binding_until_next_binding [−][src]
pub(crate) 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:
use foo::{a, b, c};
^
then return the span until the next binding or the end of the statement:
use foo::{a, b, c};
^^^