pub struct LowerError {
pub offset: ByteOffset,
pub function: Option<FuncIdx>,
pub kind: LowerErrorKind,
}Expand description
Lowering error with byte offset and optional function context.
Fields§
§offset: ByteOffset§function: Option<FuncIdx>§kind: LowerErrorKindTrait Implementations§
Source§impl Clone for LowerError
impl Clone for LowerError
Source§fn clone(&self) -> LowerError
fn clone(&self) -> LowerError
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 Debug for LowerError
impl Debug for LowerError
impl Eq for LowerError
Source§impl From<ValidationError> for LowerError
impl From<ValidationError> for LowerError
Source§fn from(error: ValidationError) -> Self
fn from(error: ValidationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LowerError
impl PartialEq for LowerError
impl StructuralPartialEq for LowerError
Auto Trait Implementations§
impl Freeze for LowerError
impl RefUnwindSafe for LowerError
impl Send for LowerError
impl Sync for LowerError
impl Unpin for LowerError
impl UnsafeUnpin for LowerError
impl UnwindSafe for LowerError
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