pub struct CompileError<'a> {
pub inner: CodegenError,
pub func: &'a Function,
}Expand description
Compilation error, with the accompanying function to help printing it.
Fields§
§inner: CodegenErrorUnderlying CodegenError that triggered the error.
func: &'a FunctionFunction we tried to compile, for display purposes.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for CompileError<'a>
impl<'a> Freeze for CompileError<'a>where
*const u8 is !null: Freeze,
PhantomData<VerifierError>: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
PhantomData<CheckerError>: Freeze,
&'a Function: Freeze,
impl<'a> Move for CompileError<'a>
impl<'a> RefUnwindSafe for CompileError<'a>
impl<'a> Send for CompileError<'a>
impl<'a> Sync for CompileError<'a>where
RawVecInner: Sync,
RawTable<(VReg, ())>: Sync,
BoxRaw<[u8]>: Sync,
NonZero<u8>: Sync,
NodeRef<Owned, Inst, SmallVec<[UserStackMapEntry; 4]>, LeafOrInternal>: Sync,
BoxRaw<(Inst, SmallVec<[UserStackMapEntry; 4]>)>: Sync,
NodeRef<Owned, Value, ValueLabelAssignments, LeafOrInternal>: Sync,
BoxRaw<(Value, ValueLabelAssignments)>: Sync,
NodeRef<Owned, Constant, ConstantData, LeafOrInternal>: Sync,
BoxRaw<(Constant, ConstantData)>: Sync,
NodeRef<Owned, ConstantData, Constant, LeafOrInternal>: Sync,
BoxRaw<(ConstantData, Constant)>: Sync,
RawTable<(MemFlagsData, MemFlags)>: Sync,
String: Sync,
RawTable<(u32, AliasRegion)>: Sync,
NodeRef<Owned, Inst, Range<u32>, LeafOrInternal>: Sync,
BoxRaw<(Inst, Range<u32>)>: Sync,
RawTable<(UserExternalName, UserExternalNameRef)>: Sync,
impl<'a> Unpin for CompileError<'a>
impl<'a> UnsafeUnpin for CompileError<'a>where
*const u8 is !null: UnsafeUnpin,
PhantomData<VerifierError>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<CheckerError>: UnsafeUnpin,
&'a Function: UnsafeUnpin,
impl<'a> UnwindSafe for CompileError<'a>where
RawVecInner: UnwindSafe,
&'static str: UnwindSafe,
NonNull<u8>: UnwindSafe,
&'a Function: UnwindSafe,
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