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
0: OptimizationDiagnostic<'ll>InlineAsm(InlineAsmDiagnostic)
Tuple Fields
PGO(&'ll DiagnosticInfo)
Tuple Fields
0: &'ll DiagnosticInfoLinker(&'ll DiagnosticInfo)
Tuple Fields
0: &'ll DiagnosticInfoUnsupported(&'ll DiagnosticInfo)
Tuple Fields
0: &'ll DiagnosticInfoUnknownDiagnostic(&'ll DiagnosticInfo)
Tuple Fields
0: &'ll DiagnosticInfoLLVM has other types that we do not wrap here.
Implementations
Auto Trait Implementations
impl<'ll> !RefUnwindSafe for Diagnostic
impl<'ll> !Send for Diagnostic
impl<'ll> !Sync for Diagnostic
impl<'ll> Unpin for Diagnostic
impl<'ll> !UnwindSafe for Diagnostic
Blanket Implementations
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:
Optimization: 96 bytesInlineAsm: 80 bytesPGO: 8 bytesLinker: 8 bytesUnsupported: 8 bytesUnknownDiagnostic: 8 bytes
