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.
- Diagnostic
Code - The error code emitted by the compiler. See Rust error codes index.
- Diagnostic
Span - Span information of a diagnostic item.
- Diagnostic
Span Line - Span information of a single line.
- Diagnostic
Span 🔒Macro Expansion - Span information for macro expansions.
Enums§
- Applicability
- Indicates the confidence in the correctness of a suggestion.