-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Stabilize const_maybe_uninit_write
#131713
base: master
Are you sure you want to change the base?
Stabilize const_maybe_uninit_write
#131713
Conversation
The other methods from #63567 have already been stabilized, but this needs FCP. I will be able to drop the enable for |
☔ The latest upstream changes (presumably #131887) made this pull request unmergeable. Please resolve the merge conflicts. |
Mark the following API const stable: impl<T> MaybeUninit<T> { pub const fn write(&mut self, val: T) -> &mut T; } This depends on `const_mut_refs` and `const_maybe_uninit_assume_init`, both of which have recently been stabilized. Tracking issue: <rust-lang#63567>
1ed32c5
to
7808838
Compare
Cc @rust-lang/wg-const-eval for this one as well |
There is something odd about the diff (at least on mobile), it seems to say the "stable" line changed as well...
EDIT: Ah, it got moved around, the diff was just hard to read on the small screen.
But looks good from a const eval side!
|
@rust-lang/libs-api could someone start FCP? :) Should be uncontroversial, the function has been stable for a while and this just makes it const-stable. |
@rfcbot fcp merge |
Team member @dtolnay 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. |
@BurntSushi @joshtriplett @m-ou-se friendly FCP checkbox reminder :) |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
Mark the following API const stable:
This depends on
const_mut_refs
andconst_maybe_uninit_assume_init
, both of which have recently been stabilized.Closes: #63567
r? libs-api