pub struct DtypeRisk {
pub edge_or_node: NodeId,
pub op: String,
pub known: AbstractDtype,
pub span: SrcSpan,
pub message: String,
}Expand description
A same-dtype op where at least one operand is known and another remains unknown.
This is intentionally separate from DtypeConflict: it highlights a runtime mismatch risk
without claiming that the unknown operand definitely differs.
Fields§
§edge_or_node: NodeId§op: String§known: AbstractDtype§span: SrcSpan§message: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for DtypeRisk
impl RefUnwindSafe for DtypeRisk
impl Send for DtypeRisk
impl Sync for DtypeRisk
impl Unpin for DtypeRisk
impl UnsafeUnpin for DtypeRisk
impl UnwindSafe for DtypeRisk
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