checked_verify_ne

Macro checked_verify_ne 

Source
macro_rules! checked_verify_ne {
    ($left:expr, $right:expr) => { ... };
    ($left:expr, $right:expr, $message:literal) => { ... };
    ($left:expr, $right:expr, $($arg:tt)*) => { ... };
}
Expand description

Equivalent to the standard assert_eq! when used with an unmodified Rust compiler. When compiled with MIRAI, this causes MIRAI to check the condition and emit a diagnostic unless it can prove it to be true.