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

MaybeUninit::uninit_array still refers to const as future #134584

Open
daniel-pfeiffer opened this issue Dec 20, 2024 · 1 comment · May be fixed by #134585
Open

MaybeUninit::uninit_array still refers to const as future #134584

daniel-pfeiffer opened this issue Dec 20, 2024 · 1 comment · May be fixed by #134585
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-libs Relevant to the library team, which will review and decide on the PR/issue.

Comments

@daniel-pfeiffer
Copy link

Location

https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.uninit_array

Summary

It didn’t catch up on const {} being stabilized. It might now follow up, announcing that this method will be deprecated in edition 2027, or whatever the intention was.

@daniel-pfeiffer daniel-pfeiffer added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Dec 20, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Dec 20, 2024
@cyrgani
Copy link
Contributor

cyrgani commented Dec 20, 2024

The future of this unstable method was described in #125082 (comment). Since inline_const was stabilized in 1.79 (4 stable releases away) and no one expressed interest for keeping it in #96097, I think it can be removed now as it is not a stable method.

@cyrgani cyrgani linked a pull request Dec 20, 2024 that will close this issue
@saethlin saethlin added T-libs Relevant to the library team, which will review and decide on the PR/issue. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Dec 21, 2024
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 T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants