Enum rustc_llvm::diagnostic::Diagnostic [−] [src]

pub enum Diagnostic {
    Optimization(OptimizationDiagnostic),
    InlineAsm(InlineAsmDiagnostic),
    UnknownDiagnostic(DiagnosticInfoRef),
}
Unstable

Variants

Optimization
Unstable
InlineAsm
Unstable
UnknownDiagnostic
Unstable

LLVM has other types that we do not wrap here.

Methods

impl Diagnostic

unsafe fn unpack(di: DiagnosticInfoRef) -> Diagnostic

Unstable

Trait Implementations

Derived Implementations

impl Clone for Diagnostic

fn clone(&self) -> Diagnostic

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

impl Copy for Diagnostic