Adding the option extra_verifier_args = ["--numberOfErrorsToReport=0"] in the Prusti.toml file doesn't seem to do anything, e.g. the following code behaves the same with and without this option (running without overflow checks):
use prusti_contracts::*;
fn test(x: u64) {
let y = 3 * x;
assert!(y == 10*x); // Prusti shows error here
assert!(y == 0); // correct if previous assertion holds
assert!(false); // no error shown here
}
Adding the option
extra_verifier_args = ["--numberOfErrorsToReport=0"]in the Prusti.toml file doesn't seem to do anything, e.g. the following code behaves the same with and without this option (running without overflow checks):