remove intrinsics::drop_in_place by RalfJung · Pull Request #140151 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

RalfJung

This was only ever accidentally stable, and has been marked as deprecated since Rust 1.52, released almost 4 years ago. We've removed the old serialization derives, maybe we can remove this one as well?

As suggested by @jhpratt, let's see what crater says for this one.

@rustbot

r? @thomcc

rustbot has assigned @thomcc.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Apr 22, 2025

@rustbot

Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter
gets adapted for the changes, if necessary.

cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr

@RalfJung

bors added a commit to rust-lang-ci/rust that referenced this pull request

Apr 22, 2025

@bors

…rinsic, r=

remove intrinsics::drop_in_place

This was only ever accidentally stable, and has been marked as deprecated since Rust 1.52, released almost 4 years ago. We've removed the old serialization derives, maybe we can remove this one as well?

As suggested by @jhpratt, let's see what crater says for this one.

@bors

@rust-log-analyzer

This comment has been minimized.

@RalfJung

bors added a commit to rust-lang-ci/rust that referenced this pull request

Apr 22, 2025

@bors

…rinsic, r=

remove intrinsics::drop_in_place

This was only ever accidentally stable, and has been marked as deprecated since Rust 1.52, released almost 4 years ago. We've removed the old serialization derives, maybe we can remove this one as well?

As suggested by @jhpratt, let's see what crater says for this one.

@bors

@rust-log-analyzer

This comment has been minimized.

@RalfJung

More tests need blessing if we want to land this, but that doesn't block a crater run.

@bors

☀️ Try build successful - checks-actions
Build commit: 1bd50d4 (1bd50d4315eb15970d395b6be5823f9384707693)

@RalfJung

@craterbot

@RalfJung

@craterbot

🚧 Experiment pr-140151 is now running

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

@lcnr

all regressions look unrelated

@RalfJung

Yeah, indeed.

So this becomes a question for @rust-lang/libs-api then I guess -- do we want to remove this accidentally-stable function that has been deprecated for years?

@Amanieu

We discussed this in the @rust-lang/libs-api meeting and there was no opposition to removing it.

@rfcbot merge

@rfcbot

This comment was marked as outdated.

@Amanieu Amanieu added T-libs-api

Relevant to the library API team, which will review and decide on the PR/issue.

and removed proposed-final-comment-period

Proposed to merge/close by relevant subteam, see T- label. Will enter FCP once signed off.

disposition-merge

This issue / PR is in PFCP or FCP with a disposition to merge it.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Apr 29, 2025

@Amanieu

This comment was marked as outdated.

@rfcbot

This comment was marked as outdated.

@Amanieu

@rfcbot

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

@RalfJung RalfJung added the relnotes

Marks issues that should be documented in the release notes of the next release.

label

Apr 29, 2025

@rfcbot

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

Labels

disposition-merge

This issue / PR is in PFCP or FCP with a disposition to merge it.

final-comment-period

In the final comment period and will be merged soon unless new substantive objections are raised.

I-libs-api-nominated

Nominated for discussion during a libs-api team meeting.

relnotes

Marks issues that should be documented in the release notes of the next release.

S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-libs-api

Relevant to the library API team, which will review and decide on the PR/issue.