checked_assume_ne

Macro checked_assume_ne 

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

Equivalent to the standard assert_ne! when used with an unmodified Rust compiler. When compiled with MIRAI, this causes MIRAI to assume the condition unless it can prove it to be false.