fn from_span(span: &Span, je: &JsonEmitter) -> Vec<DiagnosticSpanLine> {
        let lines = get_lines_for_span!(span, je);

        let mut result = Vec::new();
        let fm = &*lines.file;

        for line in &lines.lines {
            result.push(DiagnosticSpanLine::line_from_filemap(fm,
                                                              line.line_index,
                                                              line.start_col.0 + 1,
                                                              line.end_col.0 + 1));
        }

        result
    }
/// Create a list of DiagnosticSpanLines from span - each line with any part
/// of `span` gets a DiagnosticSpanLine, with the highlight indicating the
/// `span` within the line.
Create a list of DiagnosticSpanLines from span - each line with any part
of `span` gets a DiagnosticSpanLine, with the highlight indicating the
`span` within the line.
Create a list of DiagnosticSpanLines from span - each line with any part of ` span ` gets a DiagnosticSpanLine with the highlight indicating the ` span ` within the line .
fn from_span(span: &Span, je: &JsonEmitter) -> Vec<DiagnosticSpanLine> {
        let lines = get_lines_for_span!(span, je);
        let mut result = Vec::new();
        let fm = &*lines.file;
        for line in &lines.lines {
            result.push(DiagnosticSpanLine::line_from_filemap(fm,
                                                              line.line_index,
                                                              line.start_col.0 + 1,
                                                              line.end_col.0 + 1));
        }
        result
    }
fn from_span ( span : & Span , je : & JsonEmitter ) -> Vec < DiagnosticSpanLine > { let lines = get_lines_for_span ! ( span je ) ; let mut result = Vec :: new ( ) ; let fm = & * lines . file ; for line in & lines . lines { result . push ( DiagnosticSpanLine :: line_from_filemap ( fm , line . line_index , line . start_col . 0 + 1 , line . end_col . 0 + 1 ) ) ; } result }
Create a list of DiagnosticSpanLines from span - each line with any part
of `span` gets a DiagnosticSpanLine, with the highlight indicating the
`span` within the line.
Create a list of DiagnosticSpanLines from span - each line with any part of ` span ` gets a DiagnosticSpanLine with the highlight indicating the ` span ` within the line .
span
&Span
je
&JsonEmitter
span
&Span
je
&JsonEmitter