Enum syntax::diagnostic::RenderSpanUnstable [-] [+] [src]

pub enum RenderSpan {
    FullSpan(Span),
    FileLine(Span),
}

Variants

FullSpan

A FullSpan renders with both with an initial line for the message, prefixed by file:linenum, followed by a summary of the source code covered by the span.

FileLine

A FileLine renders with just a line for the message prefixed by file:linenum.

Trait Implementations

Derived Implementations

impl Copy for RenderSpan

impl Clone for RenderSpan

fn clone(&self) -> RenderSpan

fn clone_from(&mut self, source: &Self)