Macro test_tools::dependency::diagnostics_tools::exposed::a_dbg_not_id
source · 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" );