Skip to content

Port rustc_insignificant_dtor#152291

Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
jdonszelmann:port-rustc-insignificant-dtor
Feb 9, 2026
Merged

Port rustc_insignificant_dtor#152291
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
jdonszelmann:port-rustc-insignificant-dtor

Conversation

@jdonszelmann
Copy link
Contributor

r? @JonathanBrouwer

Second commit removes it from an impl in std. I looked, and I really think it had no effect in the past. We only look for this attr on ADTs...

@rustbot
Copy link
Collaborator

rustbot commented Feb 7, 2026

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @JonathanBrouwer

Some changes occurred in compiler/rustc_attr_parsing

cc @JonathanBrouwer

Some changes occurred in compiler/rustc_hir/src/attrs

cc @JonathanBrouwer

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Feb 7, 2026
@jdonszelmann jdonszelmann force-pushed the port-rustc-insignificant-dtor branch from 76605df to 071935e Compare February 7, 2026 15:36
@jdonszelmann
Copy link
Contributor Author

how 'bout this? @rustbot review

@JonathanBrouwer
Copy link
Contributor

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 7, 2026

📌 Commit 071935e has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
…ant-dtor, r=JonathanBrouwer

Port `rustc_insignificant_dtor`

r? @JonathanBrouwer

Second commit removes it from an impl in std. I looked, and I really think it had no effect in the past. We only look for this attr on ADTs...
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
…ant-dtor, r=JonathanBrouwer

Port `rustc_insignificant_dtor`

r? @JonathanBrouwer

Second commit removes it from an impl in std. I looked, and I really think it had no effect in the past. We only look for this attr on ADTs...
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
…ant-dtor, r=JonathanBrouwer

Port `rustc_insignificant_dtor`

r? @JonathanBrouwer

Second commit removes it from an impl in std. I looked, and I really think it had no effect in the past. We only look for this attr on ADTs...
@rust-bors rust-bors bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 7, 2026
@rust-bors

This comment has been minimized.

@jdonszelmann jdonszelmann force-pushed the port-rustc-insignificant-dtor branch from 071935e to 9d6e120 Compare February 8, 2026 21:24
@rustbot
Copy link
Collaborator

rustbot commented Feb 8, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@jdonszelmann
Copy link
Contributor Author

@bors r=jonathanbrouwer

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 8, 2026

📌 Commit 9d6e120 has been approved by jonathanbrouwer

It is now in the queue for this repository.

@rust-bors rust-bors bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 8, 2026
@rust-bors rust-bors bot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Feb 8, 2026
rust-bors bot pushed a commit that referenced this pull request Feb 9, 2026
Rollup of 4 pull requests

Successful merges:

 - #150823 (Implement MVP for opaque generic const arguments)
 - #152071 (Implement stdio FD constants)
 - #152171 (Port `rustc_strict_coherence` to the new attribute parser)
 - #152291 (Port `rustc_insignificant_dtor`)

Failed merges:

 - #152180 (Port `rustc_reservation_impl` to the new attribute parser)
@rust-bors rust-bors bot merged commit 7cb4501 into rust-lang:main Feb 9, 2026
11 checks passed
rust-timer added a commit that referenced this pull request Feb 9, 2026
Rollup merge of #152291 - jdonszelmann:port-rustc-insignificant-dtor, r=jonathanbrouwer

Port `rustc_insignificant_dtor`

r? @JonathanBrouwer

Second commit removes it from an impl in std. I looked, and I really think it had no effect in the past. We only look for this attr on ADTs...
@rustbot rustbot added this to the 1.95.0 milestone Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants