Struct cranelift_codegen::CompileError
source · 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: CodegenError
Underlying CodegenError
that triggered the error.
func: &'a Function
Function we tried to compile, for display purposes.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CompileError<'a>
impl<'a> Send for CompileError<'a>
impl<'a> Sync for CompileError<'a>
impl<'a> Unpin for CompileError<'a>
impl<'a> UnwindSafe for CompileError<'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