Uh oh!
There was an error while loading. Please reload this page.
Stabilize assert_matches - #137487
Conversation
rustbot
commented
Feb 23, 2025
assert_matches and move it to core::macrosrustbot
commented
Feb 23, 2025
HIR ty lowering was modified cc @fmease Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor The run-make-support library was changed cc @jieyouxu Some changes occurred to the CTFE machinery cc @rust-lang/wg-const-eval Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri |
Voultapher
commented
Feb 23, 2025
To all the people that got cc'd feel free to check the changes, but they should only amount to import renames. |
This comment has been minimized.
This comment has been minimized.
01b7c95 to
6859a17Compare
This comment has been minimized.
This comment has been minimized.
Changing the filename of the private macros modules has wide reaching effects inside the rustc source code. Mostly the fix is to rename mentions to the path outside of rust code as in the error tests, but there are some places like |
rustbot
commented
Feb 24, 2025
The Miri subtree was changed cc @rust-lang/miri The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
scottmcm
commented
Mar 20, 2025
Hmm, I found the FCP to stabilize in #82775 (comment) But I couldn't find any decision on the module. So nominating for libs-api to weigh in on that part. |
The module name was suggested here #120234 (comment) and here #120234 (comment)
Given how popular this feature is and the previously expressed desires of the libs-api team to avoid blocking on bikesheding, I'd appreciate it if we could avoid another round of bikesheding here. |
Voultapher
commented
Mar 20, 2025
Plus this PR has to touch a lot of files by necessity, so it be great if we could move forward in a reasonable amount of time to limit the amount of merge conflict resolution I'll have to do. |
scottmcm
commented
Mar 20, 2025
Process-wise, a meeting consensus is generally not enough to make a one-way decision like picking a stable path, and it seems clear that this wasn't part of the previous FCP, so I'm not comfortable merging it without explicit libs-api assent. If they disagree with my assessment that's fine, but it's their decision to make. |
Neither am I. Let's please ask for their approval. What I'd like to avoid is a situation where we block this because the team is happy enough with the name but maybe there could be a better one and so the discussion starts. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f266750 to
58df51bCompare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
58df51b to
9787178Compare
This comment has been minimized.
This comment has been minimized.
Amanieu
commented
Feb 9, 2026
@bors delegate+ |
✌️ @Voultapher, you can now approve this pull request! If @Amanieu told you to " |
Amanieu
commented
Feb 9, 2026
r=me once CI passes |
Move assert_matches to planned stable path Another prep PR for rust-lang/rust#137487
Voultapher
commented
Feb 11, 2026
Looking at it the CI failed because GitHub was down. |
9787178 to
2f3b952Comparerustbot
commented
Feb 11, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Voultapher
commented
Feb 11, 2026
@bors r=Amanieu |
michalfita
commented
Apr 16, 2026
I installed 1.95 and |
ojeda
commented
Apr 16, 2026
Because it was reverted: #154999. |
Thanks for super-quick reply, @ojeda. The issue destabilising this is #154406. I don't the process here, but now the error leads here, to the tracking PR that is merged and marked for 1.95 milestone - kinda misleading. Certainly, now my comment indicates what went wrong. Shouldn't be a mechanism to reopen the tracking PR is such case with comment referencing the bug causing reversal? |
It also looks like it is stable on beta & nightly but the version is still set to 1.95.0 |
View all comments
Closes#82775
This is a revive of #120234, with the suggested move from the public
assert_matchesmodule tomacros. This necessitates the rename of the internal macros modules tocore_macrosandstd_macrosrespectively.