Struct rustc_codegen_llvm::llvm::diagnostic::OptimizationDiagnostic
source · pub struct OptimizationDiagnostic<'ll> {
pub kind: OptimizationDiagnosticKind,
pub pass_name: String,
pub function: &'ll Value,
pub line: c_uint,
pub column: c_uint,
pub filename: String,
pub message: String,
}
Fields
kind: OptimizationDiagnosticKind
pass_name: String
function: &'ll Value
line: c_uint
column: c_uint
filename: String
message: String
Implementations
sourceimpl<'ll> OptimizationDiagnostic<'ll>
impl<'ll> OptimizationDiagnostic<'ll>
unsafe fn unpack(
kind: OptimizationDiagnosticKind,
di: &'ll DiagnosticInfo
) -> Self
Auto Trait Implementations
impl<'ll> !RefUnwindSafe for OptimizationDiagnostic<'ll>
impl<'ll> !Send for OptimizationDiagnostic<'ll>
impl<'ll> !Sync for OptimizationDiagnostic<'ll>
impl<'ll> Unpin for OptimizationDiagnostic<'ll>
impl<'ll> !UnwindSafe for OptimizationDiagnostic<'ll>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 96 bytes