Struct rustc_codegen_llvm::llvm::diagnostic::SrcMgrDiagnostic
source · pub struct SrcMgrDiagnostic {
pub level: DiagnosticLevel,
pub message: String,
pub source: Option<(String, Vec<InnerSpan>)>,
}
Fields§
§level: DiagnosticLevel
§message: String
§source: Option<(String, Vec<InnerSpan>)>
Implementations§
source§impl SrcMgrDiagnostic
impl SrcMgrDiagnostic
pub unsafe fn unpack(diag: &SMDiagnostic) -> SrcMgrDiagnostic
Auto Trait Implementations§
impl RefUnwindSafe for SrcMgrDiagnostic
impl Send for SrcMgrDiagnostic
impl Sync for SrcMgrDiagnostic
impl Unpin for SrcMgrDiagnostic
impl UnwindSafe for SrcMgrDiagnostic
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. 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: 80 bytes