Enum cl_typeck::inference::InferenceError
source · pub enum InferenceError {
Mismatch(RcType, RcType),
Recursive(RcType, RcType),
}
Expand description
An error produced during type inference
Variants§
Trait Implementations§
source§impl Clone for InferenceError
impl Clone for InferenceError
source§fn clone(&self) -> InferenceError
fn clone(&self) -> InferenceError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InferenceError
impl Debug for InferenceError
source§impl Display for InferenceError
impl Display for InferenceError
source§impl PartialEq for InferenceError
impl PartialEq for InferenceError
source§fn eq(&self, other: &InferenceError) -> bool
fn eq(&self, other: &InferenceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InferenceError
impl StructuralPartialEq for InferenceError
Auto Trait Implementations§
impl Freeze for InferenceError
impl !RefUnwindSafe for InferenceError
impl !Send for InferenceError
impl !Sync for InferenceError
impl Unpin for InferenceError
impl !UnwindSafe for InferenceError
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