Module dfir_lang::diagnostic

source ·
Expand description

Compatibility for proc_macro diagnostics, which are missing from proc_macro2.

Structs§

  • Diagnostic. A warning or error (or lower Level) with a message and span. Shown by IDEs usually as a squiggly red or yellow underline.
  • A serializable and deserializable version of Span. Cannot be plugged into the Rust compiler’s diagnostic system.

Enums§

  • Diagnostic reporting level.