Skip to main content

compare

Function compare 

Source
pub fn compare(before: &ProjectResult, after: &ProjectResult) -> Comparison
Expand description

Compares recorded evidence only when bound requested contexts/scopes agree. Runs without proof reuse do not establish a comparable runtime context. Absent functions remain unobserved; a partial run never proves their removal.

A function reported unknown that passed by Verus’s totals (crate::output::CrateReport::verus_totals_clear_unknown) is classified as verified on either side, as Verus counted it. Its reported verdict stays unknown in Difference::before or Difference::after, and the difference says the class relied on the totals.