pub enum InferenceError {
ConflictingPredicateColumnType {
predicate: String,
column: usize,
first_rule_index: usize,
first_type: ScalarType,
second_rule_index: usize,
second_type: ScalarType,
},
}Expand description
Errors surfaced by infer_scc_predicate_schemas.
Variants§
ConflictingPredicateColumnType
Two rules contributing to the same head predicate disagree
on the type of the same column. The first rule that types
the column wins first_*; the rule that disagrees wins
second_*.
Trait Implementations§
Source§impl Clone for InferenceError
impl Clone for InferenceError
Source§fn clone(&self) -> InferenceError
fn clone(&self) -> InferenceError
Returns a duplicate 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 PartialEq for InferenceError
impl PartialEq 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 UnsafeUnpin 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