Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile more of ink_env.v 13 - experimental #225

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions CoqOfRust/core/convert.v
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ where
}
*)
Module AsMut.
Class Trait (Self T : Set) : Set := {
Class Trait (Self : Set) {T : Set} : Set := {
as_mut : mut_ref Self -> mut_ref T;
}.
End AsMut.
Expand All @@ -55,13 +55,13 @@ where
}
*)
Module AsRef.
Class Trait (Self T : Set) : Set := {
Class Trait (Self : Set) {T : Set} : Set := {
as_ref : ref Self -> ref T;
}.
End AsRef.

Module Impl_AsRef_for_string.
Global Instance I : convert.AsRef.Trait string string := {
Global Instance I : convert.AsRef.Trait string (T := string) := {
as_ref self := self;
}.
End Impl_AsRef_for_string.
Expand Down
Loading