Struct rustc_errors::json::DiagnosticCode [−][src]
Fields
code: StringThe code itself.
explanation: Option<&'static str>An explanation for the code.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticCodeimpl Send for DiagnosticCodeimpl Sync for DiagnosticCodeimpl Unpin for DiagnosticCodeimpl UnwindSafe for DiagnosticCodeBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes