-
Notifications
You must be signed in to change notification settings - Fork 48
Start the verification of slice::Iter
#148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3539fa1
to
f9d1c17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
There are a few harnesses failing that needs further debugging. I commented them out for now.
- Improve first / last logic - Add comment to invariant - Fix IterMut invariant
trigger approval checks after rebase from main. Sorry, I accidentally rebased instead of merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. I forgot it has to be a review comment
In #148 and #122, we had to comment out a few harnesses due to the issue model-checking/kani#3670. But now that the fix has been pushed, we can enable them.
This PR implements the invariant for
Iter
andIterMut
and contains harnesses for someIter
methods. I commented out a bunch of harnesses that are currently failing until I can debug them further.I am planning to add harnesses for
IterMut
later, but I could use some early feedback. Thanks!By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.