assumed_postcondition

Macro assumed_postcondition 

Source
macro_rules! assumed_postcondition {
    ($condition:expr) => { ... };
}
Expand description

Equivalent to a no op 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 postcondition that can be assumed by the caller of the function.