macro_rules! a_dbg_not_id {
(
$( $arg:tt )*
) => { ... };
}Expand description
Asserts that two expressions are not identical with each other.
This will invoke the panic! macro if two experessions have the same value at runtime. Like a_id!, this macro also has a second version, where a custom panic message can be provided.
ยงBasic use-case.
use diagnostics_tools::prelude::*;
a_dbg_not_id!( 1, 2, "something wrong" );