-
Notifications
You must be signed in to change notification settings - Fork 88
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
ICE: index out of bounds, snapshot_vec.rs #3442
Comments
Thanks for the report! I took a look at your code, and it seems like this is an issue with the Rust compiler, not necessarily Kani's logic. When I run your code, the Rust compiler ICEs with the same error. I suspect this issue is related to overflow of a trait requirement. I did some debugging locally and found that Kani panics on this line, when it's trying to generate code for the enum variants. I ran Kani with your code snippet with
until it finally panics trying to resolve the layout for this type:
I would suggest filing an issue with the Rust team. |
I tried this code:
using the following command line invocation:
with Kani version:
I expected to see this happen: explanation
Instead, this happened: explanation
The text was updated successfully, but these errors were encountered: