Skip to main content

force_pure_and_nonprophetic

Function force_pure_and_nonprophetic 

pub fn force_pure_and_nonprophetic<A>(_reason: &str, _a: A) -> A
Expand description

Used internally (e.g., by state machine macros) to mark expressions that are not allowed to depend on prophecies. The reason string literal is used in the error message: “prophetic expression not allowed in {reason}”.