Struct rustc_codegen_llvm::errors::WithLlvmError
source · pub(crate) struct WithLlvmError<'a>(pub LlvmError<'a>, pub String);
Tuple Fields§
§0: LlvmError<'a>
§1: String
Trait Implementations§
source§impl<EM: EmissionGuarantee> IntoDiagnostic<'_, EM> for WithLlvmError<'_>
impl<EM: EmissionGuarantee> IntoDiagnostic<'_, EM> for WithLlvmError<'_>
source§fn into_diagnostic(self, sess: &Handler) -> DiagnosticBuilder<'_, EM>
fn into_diagnostic(self, sess: &Handler) -> DiagnosticBuilder<'_, EM>
Write out as a diagnostic out of
Handler
.Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WithLlvmError<'a>
impl<'a> Send for WithLlvmError<'a>
impl<'a> Sync for WithLlvmError<'a>
impl<'a> Unpin for WithLlvmError<'a>
impl<'a> !UnwindSafe for WithLlvmError<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn 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: 80 bytes