-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Comments
The future of this unstable method was described in #125082 (comment). Since |
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.
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
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.
The text was updated successfully, but these errors were encountered: