## Module diagnostics

Source
Expand description

Rustc Diagnostic JSON Output.

The following data types are copied from rust-lang/rust.

For examples of the JSON output, see JSON fixture files under `tests/` directory.

## Structs§

Diagnostic
  The root diagnostic JSON output emitted by the compiler.
DiagnosticCode
  The error code emitted by the compiler. See Rust error codes index.
DiagnosticSpan
  Span information of a diagnostic item.
DiagnosticSpanLine
  Span information of a single line.
DiagnosticSpanMacroExpansion 🔒
  Span information for macro expansions.

## Enums§

Applicability
  Indicates the confidence in the correctness of a suggestion.