MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / assert_no_lets

Function assert_no_lets

src/transform/src/normalize_lets.rs:642–646  ·  view source on GitHub ↗
(expr: &MirRelationExpr)

Source from the content-addressed store, hash-verified

640 }
641
642 pub(crate) fn assert_no_lets(expr: &MirRelationExpr) {
643 expr.visit_pre(|expr| {
644 assert!(!matches!(expr, MirRelationExpr::Let { .. }));
645 });
646 }
647
648 /// Asserts that `expr` in "LetRec-major" form.
649 ///

Callers 1

actionMethod · 0.85

Calls 1

visit_preMethod · 0.45

Tested by

no test coverage detected