Enum chalk_solve::wf::WfError
source · pub enum WfError<I: Interner> {
IllFormedTypeDecl(AdtId<I>),
IllFormedOpaqueTypeDecl(OpaqueTyId<I>),
IllFormedTraitImpl(TraitId<I>),
}Variants
IllFormedTypeDecl(AdtId<I>)
IllFormedOpaqueTypeDecl(OpaqueTyId<I>)
IllFormedTraitImpl(TraitId<I>)
Trait Implementations
sourceimpl<I: Interner> Error for WfError<I>
impl<I: Interner> Error for WfError<I>
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl<I> RefUnwindSafe for WfError<I>where
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedAdtId: RefUnwindSafe,
impl<I> Send for WfError<I>where
<I as Interner>::DefId: Send,
<I as Interner>::InternedAdtId: Send,
impl<I> Sync for WfError<I>where
<I as Interner>::DefId: Sync,
<I as Interner>::InternedAdtId: Sync,
impl<I> Unpin for WfError<I>where
<I as Interner>::DefId: Unpin,
<I as Interner>::InternedAdtId: Unpin,
impl<I> UnwindSafe for WfError<I>where
<I as Interner>::DefId: UnwindSafe,
<I as Interner>::InternedAdtId: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Cast for T
impl<T> Cast for T
sourcefn 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.