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

Handle negative literal const generic argument after left arrow #224

Merged
merged 2 commits into from Feb 19, 2022

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Feb 19, 2022

Previously an invocation like ensure!(f::<-1>() == expected) was not getting tokenized properly because the <- in there is really a left arrow token, not <-, due to silliness in macro_rules.

@dtolnay dtolnay merged commit 76a0b48 into master Feb 19, 2022
@dtolnay dtolnay deleted the negativelit branch February 19, 2022 01:38
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.

None yet

1 participant