Enum rustc_codegen_llvm::llvm_::diagnostic::Diagnostic[][src]

pub enum Diagnostic<'ll> {
    Optimization(OptimizationDiagnostic<'ll>),
    InlineAsm(InlineAsmDiagnostic),
    PGO(&'ll DiagnosticInfo),
    Linker(&'ll DiagnosticInfo),
    Unsupported(&'ll DiagnosticInfo),
    UnknownDiagnostic(&'ll DiagnosticInfo),
}

Variants

Optimization(OptimizationDiagnostic<'ll>)

Tuple Fields of Optimization

0: OptimizationDiagnostic<'ll>
InlineAsm(InlineAsmDiagnostic)

Tuple Fields of InlineAsm

0: InlineAsmDiagnostic
PGO(&'ll DiagnosticInfo)

Tuple Fields of PGO

0: &'ll DiagnosticInfo
Linker(&'ll DiagnosticInfo)

Tuple Fields of Linker

0: &'ll DiagnosticInfo
Unsupported(&'ll DiagnosticInfo)

Tuple Fields of Unsupported

0: &'ll DiagnosticInfo
UnknownDiagnostic(&'ll DiagnosticInfo)

LLVM has other types that we do not wrap here.

Tuple Fields of UnknownDiagnostic

0: &'ll DiagnosticInfo

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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: 104 bytes

Size for each variant: