-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
verusfmt can't format this document:
use vstd::prelude::*;
verus! {
proof fn my_proof() {
let a = Seq::empty().push(4int);
let b = Seq::empty().push(0int);
assert(a[0] !~= b[0]);
}
}
fn main() {}$ verusfmt src/main.rs:
Error:
× Failed to parse
╭─[src/main.rs:8:22]
7 │
8 │ assert(a[0] !~= b[0]);
· ┬
· ╰── here
9 │ }
╰────
help: Expected one of: COMMENT, has_str, is_strwhereas Verus verification passes, and Verus analyzer doesn't complain.
$ verusfmt --version:
verusfmt 0.5.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working