Module rustfix::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§
- The root diagnostic JSON output emitted by the compiler.
- The error code emitted by the compiler. See Rust error codes index.
- Span information of a diagnostic item.
- Span information of a single line.
- Span information for macro expansions.
Enums§
- Indicates the confidence in the correctness of a suggestion.