Struct syntax::diagnostics::metadata::ErrorMetadata
[−]
[src]
pub struct ErrorMetadata {
pub description: Option<String>,
pub use_site: Option<ErrorLocation>,
}Unstable (
rustc_private)JSON encodable/decodable version of ErrorInfo.
Fields
description: Option<String>
Unstable (
rustc_private)use_site: Option<ErrorLocation>
Unstable (
rustc_private)Trait Implementations
Derived Implementations
impl Encodable for ErrorMetadata[src]
impl Decodable for ErrorMetadata[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ErrorMetadata, __D::Error>
impl PartialEq for ErrorMetadata[src]
fn eq(&self, __arg_0: &ErrorMetadata) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ErrorMetadata) -> bool
This method tests for !=.