Proof harness crashes when verifying a function with a &mut FnMut
argument
#3799
Labels
[C] Bug
This is a bug. Something isn't working.
&mut FnMut
argument
#3799
Context: The crash does not happen on every harness verifying a function with a
&mut F
argument whereF: FnMut
. For instance, I wrote several such harnesses here that do not trigger a crash. I first encountered this crash while usingproof
oninsertion_sort_shift_left
withstub_verified(insert_tail)
. However, if I removestub_verified(insert_tail)
then kani does not crash.I tried this code:
using the following command line invocation:
with Kani version:
cargo-kani 0.57.0
Kani crashed with the following error and backtrace.
The text was updated successfully, but these errors were encountered: