Skip to main content

assert_unreachable

Macro assert_unreachable 

Source
macro_rules! assert_unreachable {
    ($message:expr) => { ... };
    ($message:expr, { $($key:expr => $val:expr),+ $(,)? }) => { ... };
}
Expand description

Assert that a code path should never be reached.

Does not panic — records the violation and logs at ERROR level. Tracks in shared memory for reporting.