Struct crate_compile_test::cargo_messages::DiagnosticMessage
[−]
[src]
pub struct DiagnosticMessage {
pub message: String,
pub level: DiagnosticLevel,
pub code: Option<DiagnosticCode>,
pub spans: Vec<DiagnosticSpan>,
}Fields
message: String
level: DiagnosticLevel
code: Option<DiagnosticCode>
spans: Vec<DiagnosticSpan>
Trait Implementations
impl Debug for DiagnosticMessage[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Into<CompilerMessage> for DiagnosticMessage[src]
fn into(self) -> CompilerMessage[src]
Performs the conversion.