Expand description
Catalog of diagnostic codes emitted by the compiler.
Source crates emit diagnostics with inline numeric codes (e.g. E1001).
This catalog is the single queryable registry of those codes together
with their human-facing metadata — used by editor extensions, the
vocabulary emitter, and online documentation.
The catalog is deliberately separate from emission sites: keeping it centralized means tools can render it without depending on the internal structure of every compiler pass. When a new code is introduced at an emission site, add an entry here too.
Structs§
- Diagnostic
Code Info - Metadata for a single diagnostic code.
Functions§
- diagnostic_
catalog - The full catalog of diagnostic codes.