Description
Prusti throws an internal error when analyze the following code, it seems that the root cause is related to the Rust closure.
fn main() {
let c = |x,y| x * y;
let result = c(5,6);
}
internal error:
thread 'rustc' panicked at prusti-viper/src/encoder/procedure_encoder.rs:3406:57:
called `Option::unwrap()` on a `None` value
To Reproduce
Use the following command:
Environment
Prusti version: 0.2.2, commit 0d4a8d4 2024-03-26 13:08:03 UTC,