pub enum AllocationFactsError<V> {
MissingEntry {
entry: usize,
block_count: usize,
},
MissingSuccessor {
block: usize,
successor: usize,
block_count: usize,
},
MissingPhiPredecessor {
block: usize,
predecessor: usize,
value: V,
},
FixedUseIsNotUse {
block: usize,
instruction: usize,
value: V,
},
FixedDefIsNotDef {
block: usize,
instruction: usize,
value: V,
},
}Expand description
Structural error in backend-provided register-allocation facts.
Variants§
Trait Implementations§
Source§impl<V: Clone> Clone for AllocationFactsError<V>
impl<V: Clone> Clone for AllocationFactsError<V>
Source§fn clone(&self) -> AllocationFactsError<V>
fn clone(&self) -> AllocationFactsError<V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Debug> Debug for AllocationFactsError<V>
impl<V: Debug> Debug for AllocationFactsError<V>
Source§impl<V> Display for AllocationFactsError<V>where
V: Debug,
impl<V> Display for AllocationFactsError<V>where
V: Debug,
impl<V: Eq> Eq for AllocationFactsError<V>
Source§impl<V> Error for AllocationFactsError<V>where
V: Debug,
impl<V> Error for AllocationFactsError<V>where
V: Debug,
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl<V: PartialEq> PartialEq for AllocationFactsError<V>
impl<V: PartialEq> PartialEq for AllocationFactsError<V>
impl<V: PartialEq> StructuralPartialEq for AllocationFactsError<V>
Auto Trait Implementations§
impl<V> Freeze for AllocationFactsError<V>where
V: Freeze,
impl<V> RefUnwindSafe for AllocationFactsError<V>where
V: RefUnwindSafe,
impl<V> Send for AllocationFactsError<V>where
V: Send,
impl<V> Sync for AllocationFactsError<V>where
V: Sync,
impl<V> Unpin for AllocationFactsError<V>where
V: Unpin,
impl<V> UnsafeUnpin for AllocationFactsError<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for AllocationFactsError<V>where
V: UnwindSafe,
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