Skip to content

Commit

Permalink
snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
cmester0 committed Nov 26, 2024
1 parent 3566660 commit ddec63c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/backends/coq/coq/coq_backend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ struct
^^ break 1))
^^ break 1
^^ CoqNotation.arguments (!^"Build_" ^^ name#p)
arguments_explicity_without_ty (* arguments_explicity_with_ty *)
arguments_explicity_without_ty (* arguments_explicity_with_ty *)
^^ concat_map_with ~pre:(break 1)
(fun (ident, typ, attr) ->
CoqNotation.arguments ident#p arguments_explicity_without_ty)
Expand Down
1 change: 0 additions & 1 deletion examples/coverage/src/test_arrays.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// // This function borrows a slice.
// fn analyze_slice(slice: &[i32]) {
// let _ = slice[0];
Expand Down
2 changes: 1 addition & 1 deletion test-harness/src/snapshots/toolchain__slices into-coq.snap
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Definition r#unsized '(_ : t_Array (t_Slice t_u8) ((1 : t_usize))) : unit :=
tt.

Definition sized (x : t_Array (t_Array (t_u8) ((4 : t_usize))) ((1 : t_usize))) : unit :=
r#unsized ([unsize (index (x) ((0 : t_usize)))]).
r#unsized ([unsize (Index_f_index (x) ((0 : t_usize)))]).
'''
_CoqProject = '''
-R ./ TODO
Expand Down

0 comments on commit ddec63c

Please sign in to comment.