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 parsing for const generic literals #92

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

jaybosamiya-ms
Copy link
Collaborator

@jaybosamiya-ms jaybosamiya-ms commented Sep 23, 2024

Fixes #90 in an extremely mildly hacky way (specifically, this PR removes support for arbitrary const-generic expressions, and instead makes it work for literals, which is actually all that Rust stable supports anyways).

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.

Makes sense to me.

@jaybosamiya-ms jaybosamiya-ms merged commit b642edc into main Sep 24, 2024
8 checks passed
@jaybosamiya-ms jaybosamiya-ms deleted the jb-const-generic-args branch September 24, 2024 18:13
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.

verusfmt errors on const generic arguments
2 participants