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

Support generic argument binding #58

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

jaybosamiya
Copy link
Collaborator

@jaybosamiya jaybosamiya commented Apr 23, 2024

Useful for associated type constraints, such as trait Foo<T>: Bar<V = Baz<T>>

Required for verus-lang/verus#1078

Relevant section of the Rust reference: https://doc.rust-lang.org/stable/reference/paths.html#paths-in-expressions

Useful for associated type constraints, such as `trait Foo<T>: Bar<V = Baz<T>>`
Copy link
Contributor

@parno parno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice that this kind of change doesn't require much work in either lib.rs or verus.pest.

@jaybosamiya jaybosamiya merged commit 9a7b055 into main Apr 23, 2024
8 checks passed
@jaybosamiya jaybosamiya deleted the assoc-type-constraint branch April 23, 2024 15:42
@Chris-Hawblitzel
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants