-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
stabilise assert_matches #120234
stabilise assert_matches #120234
Conversation
r? @cuviper (rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment was marked as outdated.
This comment was marked as outdated.
☔ The latest upstream changes (presumably #119968) made this pull request unmergeable. Please resolve the merge conflicts. |
Then I'll leave that to API folks. r? libs-api |
This comment was marked as resolved.
This comment was marked as resolved.
We discussed this in today's @rust-lang/libs-api meeting. The consensus we came up with was: We want to stabilize this. We're not thrilled with the module name Meanwhile, if someone comes up with a great idea for a module |
@joshtriplett to clarify, did the libs team talk about the concern I raised? Your comment does not mention it at all. That's why I'm asking. |
@Voultapher We did discuss your concern about the If changes to the syntax are needed, this should be applied to both |
Was a simple |
|
Ah -- then maybe |
@Amanieu thanks for clarifying and considering the point. While it's a bit unfortunate I don't see a better alternative either, that doesn't involve a time machine. |
We did consider |
@joshtriplett Have you considered the same placement as the rest assertions? I believe this one would useful be the same as other assertions |
@eirnym The rest of the assertions are in the root of |
What's the current status of this? Is it possible to stabilize the addition of |
I haven't looked at it since the last review, i'll give it this week or next (hopefully) and update here accordingly |
Closing this as i don't have much time for it right now, I'll look into it some point later in future unless someone else wants to tackle it. |
Closes #82775
Currently there is some discussion around #82913. So I assume this would either be blocked on that if needed.