Skip to main content

Module error

Module error 

Source

Structs§

LexingError
Lexer error payload. Converted into Diagnostic at the call site (main.rs); never rendered directly. No Display impl by design — all user-facing formatting lives in Diagnostic.
SyntaxError
Parser error payload. Converted into Diagnostic at the call site (main.rs); never rendered directly. See LexingError.

Enums§

CompilerError
Top-level error returned from main(). User-facing diagnostics flow through DiagnosticsCollector and never go through this Display impl — these variants only carry a process-exit cause for Result<(), Box<dyn Error>>.