Struct syntax::diagnostics::metadata::ErrorMetadata[][src]

pub struct ErrorMetadata {
    pub description: Option<String>,
    pub use_site: Option<ErrorLocation>,
}

JSON encodable/decodable version of ErrorInfo.

Fields

Trait Implementations

impl PartialEq for ErrorMetadata
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Decodable for ErrorMetadata
[src]

impl Encodable for ErrorMetadata
[src]

Auto Trait Implementations