Skip to main content

parsed_alias_span

Function parsed_alias_span 

Source
pub fn parsed_alias_span(
    parsed: &[ParsedFile],
    indices: &[usize],
    alias: &str,
) -> Option<(usize, Span)>
Expand description

#696: returns the parsed index of the owning file alongside the alias span, so the caller can attribute the diagnostic to that file.