[][src]Macro mirai_annotations::checked_precondition_ne

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

Equivalent to the standard assert_ne! when used with an unmodified Rust compiler. When compiled with MIRAI, this causes MIRAI to assume the condition at the point where it appears in a function, but to also add it a precondition that must be verified by the caller of the function.