pub struct CompilerError<'source> { /* private fields */ }Expand description
This type is an opaque wrapper around espy_tail’s error type, to avoid leaking changes in the compiler’s API.
If users of this crate have access to espy_tail (meaning they have somehow
opted into following its stability guarantees), this type provides From
implementations for converting between CompilerError and espy_tail::Error.
Trait Implementations§
Source§impl<'source> Debug for CompilerError<'source>
impl<'source> Debug for CompilerError<'source>
Source§impl<'source> From<CompilerError<'source>> for Error<'source>
impl<'source> From<CompilerError<'source>> for Error<'source>
Source§fn from(value: CompilerError<'source>) -> Self
fn from(value: CompilerError<'source>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'source> Freeze for CompilerError<'source>
impl<'source> RefUnwindSafe for CompilerError<'source>
impl<'source> Send for CompilerError<'source>
impl<'source> Sync for CompilerError<'source>
impl<'source> Unpin for CompilerError<'source>
impl<'source> UnwindSafe for CompilerError<'source>
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