Skip to main content

diagnostic_catalog

Function diagnostic_catalog 

Source
pub fn diagnostic_catalog() -> Vec<DiagnosticCodeInfo>
Expand description

The full catalog of diagnostic codes.

Codes are grouped by crate of origin:

  • 1xxx — lexer (bock-lexer) and name resolution (bock-air)
  • 2xxx — parser (bock-parser)
  • 4xxx — type checker (bock-types/checker)
  • 5xxx — ownership (bock-types/ownership)
  • 6xxx — effects (bock-types/effects)
  • 7xxx — capabilities (bock-types/capabilities)