Macro a_false
Source macro_rules! a_false {
() => { ... };
(
$( $Rest : tt )*
) => { ... };
}
Expand description
Asserts that a boolean expression is false at runtime.
This will invoke the panic! macro if the provided expression cannot be evaluated to false at runtime.
§Basic use-case.
ⓘuse diagnostics_tools::prelude::*;
a_true!( 1 == 2, "something wrong" );