summaryrefslogtreecommitdiff
path: root/tests/misc/External.Opaque.fsti
diff options
context:
space:
mode:
authorSon Ho2022-11-09 18:04:03 +0100
committerSon HO2022-11-10 11:35:30 +0100
commit8b6f8e5fb85bcd1b3257550270c4c857d4ee7f55 (patch)
treeb0090425eb850af3b5c8dc1d4f6aa1eafe2c8e1a /tests/misc/External.Opaque.fsti
parentb970183881379ff676b232e47e353e924de8cfdd (diff)
Implement the generation of stateful backward functions (controlled by an option)
Diffstat (limited to '')
-rw-r--r--tests/misc/External.Opaque.fsti6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/misc/External.Opaque.fsti b/tests/misc/External.Opaque.fsti
index 7c241c7c..7d86405a 100644
--- a/tests/misc/External.Opaque.fsti
+++ b/tests/misc/External.Opaque.fsti
@@ -10,10 +10,12 @@ include External.Types
val core_mem_swap_fwd (t : Type0) : t -> t -> state -> result (state & unit)
(** [core::mem::swap] *)
-val core_mem_swap_back0 (t : Type0) : t -> t -> state -> result t
+val core_mem_swap_back0
+ (t : Type0) : t -> t -> state -> state -> result (state & t)
(** [core::mem::swap] *)
-val core_mem_swap_back1 (t : Type0) : t -> t -> state -> result t
+val core_mem_swap_back1
+ (t : Type0) : t -> t -> state -> state -> result (state & t)
(** [core::num::nonzero::NonZeroU32::{14}::new] *)
val core_num_nonzero_non_zero_u32_new_fwd