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.
Re-exportsยง
use serde::Deserialize;๐use serde::Deserialize;๐
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.