Skip to content

Commit c038711

Browse files
committed
fix
1 parent 9142078 commit c038711

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

prusti-specs/src/specifications/preparser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ mod tests {
899899
);
900900
assert_eq!(
901901
parse_prusti(quote! { exists(|x: i32| a === b) }).unwrap().to_string(),
902-
"exists (() , # [prusti :: spec_only] | x : i32 | -> bool { ((snapshot_equality (a , b)) : bool) })",
902+
"exists (() , # [prusti :: spec_only] | x : i32 | -> bool { ((snapshot_equality (& a , & b)) : bool) })",
903903
);
904904
assert_eq!(
905905
parse_prusti(quote! { forall(|x: i32| a ==> b, triggers = [(c,), (d, e)]) }).unwrap().to_string(),

prusti-tests/tests/verify/fail/closures/using-type-dep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compiler-flags: -Penable_ghost_constraints=true
1+
// compile-flags: -Penable_ghost_constraints=true
22

33
#![feature(unboxed_closures, fn_traits)]
44

prusti-tests/tests/verify/pass/closures/using-type-dep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compiler-flags: -Penable_ghost_constraints=true
1+
// compile-flags: -Penable_ghost_constraints=true
22

33
#![feature(unboxed_closures, fn_traits)]
44

0 commit comments

Comments
 (0)