Skip to content

Rollup of 3 pull requests - #161997

Open
jhpratt wants to merge 6 commits into
rust-lang:mainfrom
jhpratt:rollup-GNRRq9B
Open

Rollup of 3 pull requests#161997
jhpratt wants to merge 6 commits into
rust-lang:mainfrom
jhpratt:rollup-GNRRq9B

Conversation

@jhpratt

@jhpratt jhpratt commented Aug 30, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

raushan728 and others added 6 commits August 29, 2026 05:51
Filters out false positives for the 'imperfect derives' E0277 note by checking if ADT fields satisfy the trait independently of the failing generic parameter.
…17, r=mejrs

Add accurate targeting for imperfect derives diagnostic in `E0277`

Resolves rust-lang#157117
Follow-up rust-lang#158764

This PR implements accurate targeting for the E0277 "imperfect derives" suggestion so it only triggers when all fields of the ADT satisfy the trait independently of the failing generic parameter. False positives (like `struct S<T>(T)`) are now successfully filtered out, while true cases (like `PhantomData<T>`) still correctly emit the help note.

r? @estebank
cc @mejrs @khyperia
…nilla

Add regression test for TAIT in extern fn ICE with the new solver

Fixes rust-lang#156345
…=ShoyuVanilla

add regression test for ICE unexpected region

regression test for rust-lang#143896
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Aug 30, 2026
@rustbot rustbot added 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. labels Aug 30, 2026
@jhpratt

jhpratt commented Aug 30, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5

@rust-bors

rust-bors Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 68de020 has been approved by jhpratt

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 Aug 30, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 30, 2026
Rollup of 3 pull requests

Successful merges:

 - #159363 (Add accurate targeting for imperfect derives diagnostic in `E0277`)
 - #161969 (Add regression test for TAIT in extern fn ICE with the new solver)
 - #161993 (add regression test for ICE unexpected region)
@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 30, 2026
@rust-bors

rust-bors Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 9bbaf3f failed: CI. Failed job:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants