Closed
Description
A great C idiom is:
assert(condition && "Failure message");
In rust, I keep writing:
if !condition { fail "Failure message"; }
I'd be pretty happy with an #assert macro that took a condition and a failure message and generated appropriate code (easy), or perhaps changing the grammar of assert itself (less feasible).