From c038711288f3c47398fd303fafca7d7ec1521837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aurel=20B=C3=ADl=C3=BD?= Date: Tue, 19 Jul 2022 16:47:54 +0200 Subject: [PATCH] fix --- prusti-specs/src/specifications/preparser.rs | 2 +- prusti-tests/tests/verify/fail/closures/using-type-dep.rs | 2 +- prusti-tests/tests/verify/pass/closures/using-type-dep.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prusti-specs/src/specifications/preparser.rs b/prusti-specs/src/specifications/preparser.rs index d93aa3e133c..39ce91ddfe7 100644 --- a/prusti-specs/src/specifications/preparser.rs +++ b/prusti-specs/src/specifications/preparser.rs @@ -899,7 +899,7 @@ mod tests { ); assert_eq!( parse_prusti(quote! { exists(|x: i32| a === b) }).unwrap().to_string(), - "exists (() , # [prusti :: spec_only] | x : i32 | -> bool { ((snapshot_equality (a , b)) : bool) })", + "exists (() , # [prusti :: spec_only] | x : i32 | -> bool { ((snapshot_equality (& a , & b)) : bool) })", ); assert_eq!( parse_prusti(quote! { forall(|x: i32| a ==> b, triggers = [(c,), (d, e)]) }).unwrap().to_string(), diff --git a/prusti-tests/tests/verify/fail/closures/using-type-dep.rs b/prusti-tests/tests/verify/fail/closures/using-type-dep.rs index 769b411aeca..fe526f7027b 100644 --- a/prusti-tests/tests/verify/fail/closures/using-type-dep.rs +++ b/prusti-tests/tests/verify/fail/closures/using-type-dep.rs @@ -1,4 +1,4 @@ -// compiler-flags: -Penable_ghost_constraints=true +// compile-flags: -Penable_ghost_constraints=true #![feature(unboxed_closures, fn_traits)] diff --git a/prusti-tests/tests/verify/pass/closures/using-type-dep.rs b/prusti-tests/tests/verify/pass/closures/using-type-dep.rs index b58e6a72519..37096357de2 100644 --- a/prusti-tests/tests/verify/pass/closures/using-type-dep.rs +++ b/prusti-tests/tests/verify/pass/closures/using-type-dep.rs @@ -1,4 +1,4 @@ -// compiler-flags: -Penable_ghost_constraints=true +// compile-flags: -Penable_ghost_constraints=true #![feature(unboxed_closures, fn_traits)]