Skip to main content

constrain_boolean_outcome

Function constrain_boolean_outcome 

Source
fn constrain_boolean_outcome(
    gcx: Gcx<'_>,
    expr: &Expr<'_>,
    outcome: bool,
    state: &mut FlowState,
) -> bool
Expand description

Records in state that expr evaluated to outcome; returns false if that is impossible.