MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new

Method new

crates/expr/src/errors.rs:79–84  ·  view source on GitHub ↗
(op: BinOp, ty: &AlgebraicType)

Source from the content-addressed store, hash-verified

77
78impl 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)]

Callers

nothing calls this directly

Calls 2

fmt_algebraic_typeFunction · 0.50
to_stringMethod · 0.45

Tested by

no test coverage detected