Module diagnostic

Expand description

Compatibility for proc_macro diagnostics, which are missing from proc_macro2.

Structs§

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

Enums§

Level
Diagnostic reporting level.