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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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