macro_rules! debug_panic_context {
($($arg:tt)+) => { ... };
}Expand description
Remembers message to show it on panic inside current scope in debug build only.
Message is forgotten at the end of current scope.
Unlike panic_context!, debug_panic_context! is only enabled in
non-optimized builds by default. An optimized build will omit
all debug_panic_context! statements unless ‘-C debug-assertions’
is passed to the compiler or ‘keep-debug-context’ crate feature is
requested.