Enum rustc_codegen_llvm::llvm_::diagnostic::Diagnostic
source · [−]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>)
InlineAsm(InlineAsmDiagnostic)
PGO(&'ll DiagnosticInfo)
Linker(&'ll DiagnosticInfo)
Unsupported(&'ll DiagnosticInfo)
UnknownDiagnostic(&'ll DiagnosticInfo)
LLVM 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