Macro mirai_annotations::checked_assume_ne [−][src]
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.