-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Wrong stabilization version for std::matches!
since v1.86
#140344
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
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Comments
This seems to have regressed due to #135352. cc @notriddle |
ChrisDenton
added a commit
to ChrisDenton/rust
that referenced
this issue
Apr 28, 2025
… r=thomcc docs: fix incorrect stability markers on `std::{todo, matches}` This regression appeared in 916cfbc. The change is behaving as expected (a non-glob re-export uses the stability marker on the `use` item, not the original one), but this part of the standard library didn't follow it. Fixes rust-lang#140344
ChrisDenton
added a commit
to ChrisDenton/rust
that referenced
this issue
Apr 28, 2025
… r=thomcc docs: fix incorrect stability markers on `std::{todo, matches}` This regression appeared in 916cfbc. The change is behaving as expected (a non-glob re-export uses the stability marker on the `use` item, not the original one), but this part of the standard library didn't follow it. Fixes rust-lang#140344
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Apr 28, 2025
Rollup merge of rust-lang#140351 - rust-lang:notriddle/stability-use, r=thomcc docs: fix incorrect stability markers on `std::{todo, matches}` This regression appeared in 916cfbc. The change is behaving as expected (a non-glob re-export uses the stability marker on the `use` item, not the original one), but this part of the standard library didn't follow it. Fixes rust-lang#140344
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Location
std::matches!
in v1.85: https://doc.rust-lang.org/1.85.0/std/macro.matches.htmlstd::matches!
in v1.86: https://doc.rust-lang.org/1.86.0/std/macro.matches.htmlstd::matches!
in nightly: https://doc.rust-lang.org/nightly/std/macro.matches.htmlSummary
The
matches!
macro was stabilized in v1.42, but later versions of Rust instead report the stabilization version as v1.0The text was updated successfully, but these errors were encountered: