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 const block syntax in ensure! macro #298

Merged
merged 1 commit into from
Feb 20, 2023
Merged

Support const block syntax in ensure! macro #298

merged 1 commit into from
Feb 20, 2023

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Feb 20, 2023

This is mostly useless due to rust-lang/rust#86730 (i.e. ensure!(1 == const { 2 }) still won't work) but it's good to have a case here to revisit in the future.

@dtolnay dtolnay merged commit 2c2803f into master Feb 20, 2023
@dtolnay dtolnay deleted the constblock branch February 20, 2023 22:23
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.

1 participant