We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried this code:
#[kani::requires(true)] #[inline] const unsafe fn dummy<T>(arg: *const T) -> T { std::ptr::read(arg) } #[kani::proof_for_contract(dummy)] fn check() { unsafe { dummy(&kani::any::<u8>()) }; }
using the following command line invocation:
kani -Z function-contracts dummy.rs
with Kani version:
I expected to see this happen: verification succeed
Instead, this happened: Kani failed to compile
The text was updated successfully, but these errors were encountered:
ca110f7
Successfully merging a pull request may close this issue.
I tried this code:
using the following command line invocation:
with Kani version:
I expected to see this happen: verification succeed
Instead, this happened: Kani failed to compile
The text was updated successfully, but these errors were encountered: