lrpar

Trait LexError

source
pub trait LexError: Error {
    // Required method
    fn span(&self) -> Span;
}
Expand description

A lexing error.

Required Methods§

source

fn span(&self) -> Span

Return the span associated with this error.

Implementors§