pub struct BinOpNotYetImplemented(pub BinOp);Expand description
A binary operator the transpiler does not yet handle. Carries the original
BinOp AST node so callers can inspect it without having to re-parse a
stringified message.
Tuple Fields§
§0: BinOpTrait Implementations§
Source§impl Debug for BinOpNotYetImplemented
impl Debug for BinOpNotYetImplemented
Source§impl Display for BinOpNotYetImplemented
impl Display for BinOpNotYetImplemented
Source§impl Error for BinOpNotYetImplemented
impl Error for BinOpNotYetImplemented
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()
Auto Trait Implementations§
impl Freeze for BinOpNotYetImplemented
impl RefUnwindSafe for BinOpNotYetImplemented
impl Send for BinOpNotYetImplemented
impl Sync for BinOpNotYetImplemented
impl Unpin for BinOpNotYetImplemented
impl UnsafeUnpin for BinOpNotYetImplemented
impl UnwindSafe for BinOpNotYetImplemented
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
Source§impl<T> ErrorContext for Twhere
T: Debug,
impl<T> ErrorContext for Twhere
T: Debug,
Source§fn with_context(&self, operation: &str) -> String
fn with_context(&self, operation: &str) -> String
Generate a standardized error message with context.