Expand description
Source spans and diagnostics shared by every stage of the Oxeon compiler.
Diagnostic::render prints a diagnostic with the source lines it points
at, rustc-style; Diagnostic::render_plain gives a one-line summary.
Structs§
- Diagnostic
- Edit
- Fix
- A machine-applicable fix: a set of text replacements.
- Label
- A secondary location attached to a diagnostic.
- Render
Options - How to render a diagnostic.
- Span
- A byte range in a single source file.
Enums§
Functions§
- line_
col - 1-based line and column (in chars) of a byte offset.