-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(const_drop_in_place)]
This is a tracking issue for using drop_in_place
in const contexts
Public API
// core::ptr
pub const unsafe fn drop_in_place<T: ?Sized + ~const Destruct>(to_drop: *mut T);
Steps / History
- Implementation: Constified
array::from_fn
andptr::drop_in_place
#109122Final comment period (FCP)1Stabilization PRTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Unresolved Questions
- Confirm that things such as
dyn Trait
works with this as well
Footnotes
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
juntyr commentedon Mar 19, 2023
@fee1-dead
The summary seems to link a different implementation PRUpon rereading the PR, I saw you also constifieddrop_in_place
there - perhaps the PR title could reflect this?