Enum rustc_codegen_llvm::llvm::diagnostic::Diagnostic[−][src]

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

Variants

Optimization

Tuple Fields of Optimization

0: OptimizationDiagnostic<'ll>
InlineAsm

Tuple Fields of InlineAsm

0: InlineAsmDiagnostic<'ll>
PGO

Tuple Fields of PGO

0: &'ll DiagnosticInfo
Linker

Tuple Fields of Linker

0: &'ll DiagnosticInfo
Unsupported

Tuple Fields of Unsupported

0: &'ll DiagnosticInfo
UnknownDiagnostic

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 be different between compiler versions and platforms. 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