macro_rules! panic {
($($tt:tt)*) => { ... };
}Expand description
Bypass the default panic macro and redirect all its calls to our custom implementation. This is necessary to prevent unwinding and let us detect test failure with some assertions.
cfr. substance_panic!