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

std::assert::assert_matches! module name conflicts with std::assert! macro name #87189

Closed
richkadel opened this issue Jul 16, 2021 · 1 comment
Labels
C-bug Category: This is a bug.

Comments

@richkadel
Copy link
Contributor

#86947 recently landed, but in some situations, compiling with code that references both the std::assert macro and the assert_matches macro creates a name collision (at best, confusing error messages when std::assert appears to be feature gated, but there are other more complicated errors that are harder to workaround).

The new assert module name is not important, so changing the name to something else should be OK, and would resolve the name collision.

@richkadel richkadel added the C-bug Category: This is a bug. label Jul 16, 2021
@richkadel
Copy link
Contributor Author

Fixed by #87195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

1 participant