pub enum RegAllocError {
OutOfRegisters(RegClass),
MissingSuggestedScratchReg(RegClass),
Analysis(AnalysisError),
RegChecker(CheckerErrors),
Other(String),
}Expand description
An error from the register allocator.
Variants§
OutOfRegisters(RegClass)
MissingSuggestedScratchReg(RegClass)
Analysis(AnalysisError)
RegChecker(CheckerErrors)
Other(String)
Trait Implementations§
Source§impl Clone for RegAllocError
impl Clone for RegAllocError
Source§fn clone(&self) -> RegAllocError
fn clone(&self) -> RegAllocError
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 RegAllocError
impl Debug for RegAllocError
Auto Trait Implementations§
impl Freeze for RegAllocError
impl RefUnwindSafe for RegAllocError
impl Send for RegAllocError
impl Sync for RegAllocError
impl Unpin for RegAllocError
impl UnwindSafe for RegAllocError
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