Macro mirai_annotations::checked_postcondition_eq [−][src]
macro_rules! checked_postcondition_eq { ($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 verify the condition at the point where it appears in a function, but to also add it a postcondition that can be assumed by the caller of the function.