Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Syntax diagnostics and their stable codes.

Codes have the form DIVE-Snnnn and never change meaning once published. Add new codes at the end of the table; never reuse one.

Structs§

Diagnostic
One diagnostic about the source text.

Enums§

Code
A stable diagnostic code.
Severity
How serious a diagnostic is.

Functions§

line_col
1-based line and column (in Unicode scalar values) of a byte offset.