(op: BinOp, ty: &AlgebraicType)
| 77 | |
| 78 | impl InvalidOp { |
| 79 | pub fn new(op: BinOp, ty: &AlgebraicType) -> Self { |
| 80 | Self { |
| 81 | op, |
| 82 | ty: fmt_algebraic_type(ty).to_string(), |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | #[derive(Error, Debug)] |
nothing calls this directly
no test coverage detected