pub struct CrateReport {
pub name: Option<String>,
pub verus: VerusResults,
pub functions: Vec<FunctionReport>,
}Expand description
One crate.
Fields§
§name: Option<String>The crate name, if Verus reported any function for it.
verus: VerusResultsVerus’s own crate-level counts.
functions: Vec<FunctionReport>Its functions, sorted by name.
Implementations§
Source§impl CrateReport
impl CrateReport
Sourcepub fn unknown_passed_by_verus_totals(&self) -> u64
pub fn unknown_passed_by_verus_totals(&self) -> u64
How many of this crate’s unknown functions Verus’s own totals clear.
When attribution is incomplete in a failing crate, functions Sail
cannot confirm one by one are unknown (VI-0003, VI-0010). Verus
counts every failing verification unit in verus.errors, bit-vector
failures included (VI-0003), and each function reported failed
accounts for at least one. So when errors equals the number of failed
functions, no other function had an error, and the unknown functions
passed by Verus’s totals. Their verdicts stay unknown: this is a
count from Verus’s aggregate, never a per-function proof (charter
rule 7). Returns 0 whenever the totals cannot clear them.
Sourcepub fn verus_totals_clear_unknown(&self) -> bool
pub fn verus_totals_clear_unknown(&self) -> bool
Whether this crate’s unknown functions passed by Verus’s totals:
see Self::unknown_passed_by_verus_totals. The verdicts stay
unknown; this only says Verus’s aggregate left no error for them.