pub struct Report {
pub verdicts: Vec<Verdict>,
}Expand description
What became of a rule set.
Fields§
§verdicts: Vec<Verdict>One verdict per rule, in the order the rules were given.
Implementations§
Source§impl Report
impl Report
Sourcepub fn discharged(&self) -> usize
pub fn discharged(&self) -> usize
How many rules were discharged at their own width.
Sourcepub fn bounded(&self) -> usize
pub fn bounded(&self) -> usize
How many rules got a bounded proof instead.
spec/15-testing.md section 15.5 asks for this number to be reported rather than merely
known, because it going up is the signal that the rule set is drifting towards claims
nobody is checking at the width the compiler runs at.
Sourcepub fn all_discharged(&self) -> bool
pub fn all_discharged(&self) -> bool
Whether every rule was discharged at its own width. A bounded proof is not one of these.
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more