Enum chalk_solve::wf::WfError
source · pub enum WfError<I: Interner> {
IllFormedTypeDecl(AdtId<I>),
IllFormedOpaqueTypeDecl(OpaqueTyId<I>),
IllFormedTraitImpl(TraitId<I>),
}
Variants§
Trait Implementations§
source§impl<I: Interner> Error for WfError<I>
impl<I: Interner> Error for WfError<I>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<I> Freeze for WfError<I>
impl<I> RefUnwindSafe for WfError<I>
impl<I> Send for WfError<I>
impl<I> Sync for WfError<I>
impl<I> Unpin for WfError<I>
impl<I> UnwindSafe for WfError<I>
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
source§impl<T> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.