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

Closed
daniel-pfeiffer opened this issue Dec 20, 2024 · 1 comment · Fixed by #134585
Closed

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

daniel-pfeiffer opened this issue Dec 20, 2024 · 1 comment · 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.

@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
fmease added a commit to fmease/rust that referenced this issue Feb 26, 2025
remove `MaybeUninit::uninit_array`

Closes rust-lang#134584.
Closes rust-lang#66845.
The future of this unstable method was described in rust-lang#125082 (comment). Since `inline_const` was stabilized in 1.79 (4 stable releases away) and no one expressed interest for keeping it in rust-lang#96097, I think it can be removed now as it is not a stable method.
@bors bors closed this as completed in bcfff3d Feb 26, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 26, 2025
Rollup merge of rust-lang#134585 - cyrgani:uninit_array, r=Amanieu

remove `MaybeUninit::uninit_array`

Closes rust-lang#134584.
Closes rust-lang#66845.
The future of this unstable method was described in rust-lang#125082 (comment). Since `inline_const` was stabilized in 1.79 (4 stable releases away) and no one expressed interest for keeping it in rust-lang#96097, I think it can be removed now as it is not a stable method.
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this issue Mar 11, 2025
remove `MaybeUninit::uninit_array`

Closes rust-lang#134584.
Closes rust-lang#66845.
The future of this unstable method was described in rust-lang#125082 (comment). Since `inline_const` was stabilized in 1.79 (4 stable releases away) and no one expressed interest for keeping it in rust-lang#96097, I think it can be removed now as it is not a stable method.
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this issue Mar 11, 2025
remove `MaybeUninit::uninit_array`

Closes rust-lang#134584.
Closes rust-lang#66845.
The future of this unstable method was described in rust-lang#125082 (comment). Since `inline_const` was stabilized in 1.79 (4 stable releases away) and no one expressed interest for keeping it in rust-lang#96097, I think it can be removed now as it is not a stable method.
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