pub struct BindError {
pub kind: BindErrorKind,
pub span: Span,
pub message: String,
}Expand description
A semantic error or warning produced by the binder.
Fields§
§kind: BindErrorKindThe kind of error.
span: SpanSource location of the offending token.
message: StringHuman-readable message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindError
impl RefUnwindSafe for BindError
impl Send for BindError
impl Sync for BindError
impl Unpin for BindError
impl UnsafeUnpin for BindError
impl UnwindSafe for BindError
Blanket Implementations§
impl<T> Allocation for T
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