Skip to main content

Module diagnostic

Module diagnostic 

Source
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.
Diagnostics
A basic wrapper around Vec<Diagnostic> with pretty debug printing and utility methods.
SerdeSpan
A serializable and deserializable version of Span. Cannot be plugged into the Rust compiler’s diagnostic system.

Enums§

Level
Diagnostic reporting level.