pub enum LayoutErrorType {
ReferenceRedefinition(Span, Span),
OrgOverlapping {
before: Span,
here: Span,
before_org: u16,
before_len: u16,
here_org: u16,
},
UnresolvedReset(String),
}
Variants§
ReferenceRedefinition(Span, Span)
Indicates that a reference was defined more than one time in the assembly, which is illiegal
OrgOverlapping
Indicates that an org directive would cause some section to overwrite existing instructions
UnresolvedReset(String)
Indicates that that
- The reset vector was to be searched for as a label
- The label specified was not defined in the file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayoutErrorType
impl RefUnwindSafe for LayoutErrorType
impl Send for LayoutErrorType
impl Sync for LayoutErrorType
impl Unpin for LayoutErrorType
impl UnwindSafe for LayoutErrorType
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