-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Tracking Issue for const MaybeUninit::as(_mut)_ptr (feature: const_maybe_uninit_as_ptr) #75251
Comments
There doesn't appear to be any blockers for the non-mut version, unless I'm missing something? |
Visiting for T-compiler backlog bonanza. This seems likely to be ready to stabilize, but since I'm not certain, I'm tagging with "needs summary" Also, we think the question of whether to stabilize these methods falls under T-libs domain, so tagging with that team label @rustbot label: +T-libs +S-tracking-needs-summary |
(@m-ou-se pointed out that this is a libs-api team issue, not a libs implementation issue.) |
@rfcbot merge |
Team member @m-ou-se has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Cc @rust-lang/wg-const-eval but this should be uncontroversial |
No concerns with this. |
I'm marking @yaahc's box because she has stepped down from T-libs-api after the point that this feature got proposed for FCP. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
Status: |
@rust-lang/libs-api with #57349 no longer being a blocker, are you fine with |
We discussed this in the libs-api meeting and we're happy to keep the existing FCP for |
…nit_as_mut_ptr, r=workingjubilee Stabilize const `MaybeUninit::as_mut_ptr` This PR stabilizes the following APIs as const stable as of rust `1.83`: ```rs impl<T> MaybeUninit<T> { pub const fn as_mut_ptr(&mut self) -> *mut T; } ``` This is made possible by const_mut_refs being stabilized (yay). FCP: rust-lang#75251 [(comment)](rust-lang#75251 (comment))
…nit_as_mut_ptr, r=workingjubilee Stabilize const `MaybeUninit::as_mut_ptr` This PR stabilizes the following APIs as const stable as of rust `1.83`: ```rs impl<T> MaybeUninit<T> { pub const fn as_mut_ptr(&mut self) -> *mut T; } ``` This is made possible by const_mut_refs being stabilized (yay). FCP: rust-lang#75251 [(comment)](rust-lang#75251 (comment))
Rollup merge of rust-lang#130542 - ultrabear:stabilize_const_maybeuninit_as_mut_ptr, r=workingjubilee Stabilize const `MaybeUninit::as_mut_ptr` This PR stabilizes the following APIs as const stable as of rust `1.83`: ```rs impl<T> MaybeUninit<T> { pub const fn as_mut_ptr(&mut self) -> *mut T; } ``` This is made possible by const_mut_refs being stabilized (yay). FCP: rust-lang#75251 [(comment)](rust-lang#75251 (comment))
This is closed by #130542 :) |
This is a tracking issue for const
MaybeUninit::as(_mut)_ptr
.The feature gate for the issue is
#![feature(const_maybe_uninit_as_ptr)]
.About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
MaybeUninit
behavior as const #90896MaybeUninit::as_mut_ptr
#130542Unresolved Questions
Implementation history
The text was updated successfully, but these errors were encountered: