Enum rustc_trans::lib::llvm::diagnostic::DiagnosticUnstable [-] [+] [src]

pub enum Diagnostic {
    Optimization(OptimizationDiagnostic),
    InlineAsm(InlineAsmDiagnostic),
    UnknownDiagnostic(*mut DiagnosticInfo_opaque),
}

Variants

Optimization
InlineAsm
UnknownDiagnostic

LLVM has other types that we do not wrap here.

Methods

impl Diagnostic

unsafe fn unpack(di: *mut DiagnosticInfo_opaque) -> Diagnostic

Trait Implementations

Derived Implementations

impl Clone for Diagnostic

fn clone(&self) -> Diagnostic

fn clone_from(&mut self, source: &Self)

impl Copy for Diagnostic