pub enum LinearScanError<V> {
EmptyRegisterFile,
DuplicateValue(V),
InvalidRange(LiveRange<V>),
RegisterPressure {
value: V,
point: u32,
},
}Expand description
Failure from target-independent linear-scan allocation.
Variants§
Trait Implementations§
Source§impl<V: Clone> Clone for LinearScanError<V>
impl<V: Clone> Clone for LinearScanError<V>
Source§fn clone(&self) -> LinearScanError<V>
fn clone(&self) -> LinearScanError<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 LinearScanError<V>
impl<V: Debug> Debug for LinearScanError<V>
Source§impl<V: Debug> Display for LinearScanError<V>
impl<V: Debug> Display for LinearScanError<V>
impl<V: Eq> Eq for LinearScanError<V>
Source§impl<V: Debug> Error for LinearScanError<V>
impl<V: Debug> Error for LinearScanError<V>
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 LinearScanError<V>
impl<V: PartialEq> PartialEq for LinearScanError<V>
impl<V: PartialEq> StructuralPartialEq for LinearScanError<V>
Auto Trait Implementations§
impl<V> Freeze for LinearScanError<V>
impl<V> RefUnwindSafe for LinearScanError<V>
impl<V> Send for LinearScanError<V>
impl<V> Sync for LinearScanError<V>
impl<V> Unpin for LinearScanError<V>
impl<V> UnsafeUnpin for LinearScanError<V>
impl<V> UnwindSafe for LinearScanError<V>
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