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
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
impl<'ll> !RefUnwindSafe for Diagnostic<'ll>
impl<'ll> !Send for Diagnostic<'ll>
impl<'ll> !Sync for Diagnostic<'ll>
impl<'ll> Unpin for Diagnostic<'ll>
impl<'ll> !UnwindSafe for Diagnostic<'ll>
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