-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
PoC
use vstd::prelude::*;
verus! {
#[verus_spec(ensures true)]
pub const C: char = 'x';
fn main() {}
}Panic Log
verus/source/vir/src/sst_to_air_func.rs
Line 701 in ac50b8f
| assert!(!function.x.has.has_ensures); // no ensures allowed on spec functions yet |
thread '<unnamed>' (47) panicked at vir/src/sst_to_air_func.rs:701:9:
assertion failed: !function.x.has.has_ensures
note: [run with `RUST_BACKTRACE=1` environment variable to display a backtrace](https://play.verus-lang.org/?version=stable&mode=basic&edition=2021#)
thread '<unnamed>' (47) panicked at rust_verify/src/verifier.rs:2154:29:
worker thread panicked
Env
Verus Version: 2026.02.11 c780c07
Playground Link
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels