pub type LexError = SyntaxError;Expand description
Lexical errors share the syntax error type: the engine reports both as
SyntaxError.
Aliased Type§
pub struct LexError {
pub message: String,
pub span: Span,
}Fields§
§message: StringHuman readable message (no position prefix).
span: SpanWhere the error happened.