Skip to content

Add regression test for unsized non-last struct field with overlapping impls - #160613

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
zakrad:regr-test-83097
Aug 8, 2026
Merged

Add regression test for unsized non-last struct field with overlapping impls#160613
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
zakrad:regr-test-83097

Conversation

@zakrad

@zakrad zakrad commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Closes #83097 adds a regresion test locking that E0277 & E0119 are both emitted

@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 6, 2026
@rustbot

rustbot commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

r? @TaKO8Ki

rustbot has assigned @TaKO8Ki.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 19 candidates

@TaKO8Ki

TaKO8Ki commented Aug 8, 2026

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 2fed8e4 has been approved by TaKO8Ki

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 8, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 8, 2026
Add regression test for unsized non-last struct field with overlapping impls

Closes rust-lang#83097 adds a regresion test locking that  E0277 & E0119 are both emitted
rust-bors Bot pushed a commit that referenced this pull request Aug 8, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #160336 (Move attributes out of rustc_hir)
 - #160715 (ignore tests with the GCC backend if we can't find `libgccjit.so` for the target)
 - #157609 (fix: build-std on 32 bit arm with 64 bit time)
 - #160613 (Add regression test for unsized non-last struct field with overlapping impls)
 - #160658 (miri: implement more restrictive trivial-ABI checks)
 - #160704 (sort lint names in lint pass declarations)
 - #160707 (Add regression test for higher ranked fn pointer impl not general enough)
 - #160713 (Add regression test for #135287)
 - #160720 (triagebot: add ubiratan to infra-ci)
 - #160747 (rustc_errors: remove unused code)
 - #160751 (Add regression test for incremental borrowck ICE with generic const exprs)
 - #160753 (rustc_lint: remove unused rustc_attrs feature)

Failed merges:

 - #158835 (rustc_passes: lint unused `#[path]` attributes on inline modules)
@rust-bors
rust-bors Bot merged commit 7416d7a into rust-lang:main Aug 8, 2026
13 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Aug 8, 2026
rust-timer added a commit that referenced this pull request Aug 8, 2026
Rollup merge of #160613 - zakrad:regr-test-83097, r=TaKO8Ki

Add regression test for unsized non-last struct field with overlapping impls

Closes #83097 adds a regresion test locking that  E0277 & E0119 are both emitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confusing error reported for trait impls on DST with the last field being Sized

3 participants