Skip to content

[tracking issue] const fn std::mem::needs_drop #51929

Description

@Havvy

The issue title says it all really. std::mem::needs_drop is a function that doesn't change from call to call once monomorphized, so it should be a const function.

EDIT:

This has been implemented and it is waiting for stabilization now.

Activity

  1. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    on Jun 30, 2018
  2. oli-obk commented on Jun 30, 2018

    @oli-obk
    Contributor

    blocked on #51570

  3. added
    S-blockedStatus: Blocked on something else such as an RFC or other implementation work.
    on Jun 30, 2018
  4. JoshBrudnak commented on Aug 18, 2018

    @JoshBrudnak
    Contributor

    @oli-obk is this still blocked? If not I would like to help out with it. 👍

  5. oli-obk commented on Aug 20, 2018

    @oli-obk
    Contributor

    Should be fine to add behind a feature gate.

    The steps are basically the same as #51171 and #51299 (but you can do them in a single PR)

  6. mjbshaw commented on Oct 1, 2018

    @mjbshaw
    Contributor

    It might be nice to keeps this issue open until const_needs_drop is stabilized.

  7. reopened this on Oct 1, 2018
  8. changed the title [-]std::mem::needs_drop should be a const fn[/-] [+][tracking issue] const fn std::mem::needs_drop[/+] on Oct 1, 2018
  9. 12 remaining items

  10. rfcbot commented on Jan 23, 2019

    @rfcbot

    Team member @sfackler 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.

  11. added
    proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
    disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.
    on Jan 23, 2019
  12. Centril commented on Jan 24, 2019

    @Centril
    Contributor

    Seems unobjectionable (assuming the implementation is up to snuff...? cc @oli-obk).

  13. oli-obk commented on Jan 24, 2019

    @oli-obk
    Contributor

    Yea, the impl has baked in miri since long before it was in const eval. I also rechecked it and I see no reason not to stabilize.

  14. Centril commented on Mar 9, 2019

    @Centril
    Contributor
  15. rfcbot commented on Mar 29, 2019

    @rfcbot

    🔔 This is now entering its final comment period, as per the review above. 🔔

  16. added
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    and removed
    proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
    on Mar 29, 2019
  17. rfcbot commented on Apr 8, 2019

    @rfcbot

    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.

    The RFC will be merged soon.

  18. added and removed
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    on Apr 8, 2019
  19. added a commit that references this issue on Apr 29, 2019
    00acb7b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-langRelevant to the language teamT-libs-api[DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions