Skip to content

Commit

Permalink
Move a type
Browse files Browse the repository at this point in the history
It was causing type inference problems in visitors.
  • Loading branch information
Nadrieril committed Jan 9, 2025
1 parent d773757 commit 7d70f18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion charon-ml/src/generated/Generated_Types.ml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ and 'a0 de_bruijn_var =
is not used in charon internals, only as a micro-pass before exporting the crate data.
*)

and region_id = (RegionId.id[@opaque])
and type_var_id = (TypeVarId.id[@opaque])
and const_generic_var_id = (ConstGenericVarId.id[@opaque])
and trait_clause_id = (TraitClauseId.id[@opaque])
Expand Down Expand Up @@ -193,6 +192,7 @@ and global_decl_ref = {
}

and trait_item_name = string
and region_id = (RegionId.id[@opaque])

(** A region variable in a signature or binder. *)
and region_var = (region_id, string option) indexed_var
Expand Down
1 change: 0 additions & 1 deletion charon/src/bin/generate-ml/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,6 @@ fn generate_ml(
reduce: true,
extra_types: &[],
})), &[
"RegionId",
"TypeVarId",
"ConstGeneric",
"TraitClauseId",
Expand Down

0 comments on commit 7d70f18

Please sign in to comment.