pub struct ShapeCheckTally {
pub compared: usize,
pub withheld_no_spec: usize,
pub withheld_unknown_type: usize,
pub withheld_no_source: usize,
pub withheld_imported: usize,
}Expand description
What the live qualified-call gate’s return-shape check did with each first-party resolved call. Never reasons: a withhold is not a finding, but a round where most calls are shape-blind must read differently from a round where all of them were compared.
Fields§
§compared: usizeBoth sides had a -spec that parsed to a known type; the shapes
were compared. Drift is visible in the reasons, not double-counted
here.
withheld_no_spec: usizeOne or both sides declare no -spec for the called function.
withheld_unknown_type: usizeBoth sides have a spec but at least one parses to
SpecType::Unknown.
withheld_no_source: usizeThe callee module was not readable on the source side: no
checkout was supplied, or the checkout has no file at the
module’s path (a defaulted --repo-dir-path that is not the
source tree lands here, not in withheld_no_spec).
withheld_imported: usizeThe call resolved through an -import: the callee’s -spec
is in another module, so the calling module’s tables cannot
compare it. Local-call axis only.
Implementations§
Trait Implementations§
Source§impl Clone for ShapeCheckTally
impl Clone for ShapeCheckTally
Source§fn clone(&self) -> ShapeCheckTally
fn clone(&self) -> ShapeCheckTally
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more