Module rustc_errors::diagnostic[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Re-exports

use CodeSuggestion;
use SubstitutionPart;
use Substitution;
use Applicability;
use Level;
use std::fmt;
use syntax_pos::MultiSpan;
use syntax_pos::Span;
use snippet::Style;

Structs

Diagnostic [
Experimental
]
DiagnosticStyledString [
Experimental
]
SubDiagnostic [
Experimental
]

For example a note attached to an error.

Enums

DiagnosticId [
Experimental
]
StringPart [
Experimental
]