Skip to content

Add regression test for #155977 - #164272

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Kuksgauzen:test-155977
Oct 14, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Kuksgauzen:test-155977

Conversation

@Kuksgauzen

@Kuksgauzen Kuksgauzen commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

The ICE was fixed by #156976. I checked the final test on its base build, 3c00c96d (ICE), and its unrolled build, 5d29849f (E0277, no ICE).
The test checks that this higher-ranked where-clause example fails to compile instead of causing an ICE in the new trait solver.

Closes #155977

cc @lcnr

@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 Oct 13, 2026
@rustbot rustbot added the WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) label Oct 13, 2026
@rustbot

rustbot commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project has assigned @adwinwhite (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks.

Please see the contribution instructions and our LLM policy for more information.

Why was this reviewer chosen?

The reviewer was selected based on:

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

@rustbot

This comment has been minimized.

@adwinwhite

Copy link
Copy Markdown
Contributor

Thanks!

@bors r+ rollup

@rust-bors

rust-bors Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

📌 Commit fca5ba9 has been approved by adwinwhite

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 Oct 14, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 14, 2026
Add regression test for rust-lang#155977

The ICE was fixed by rust-lang#156976. I checked the final test on its base build, `3c00c96d` (ICE), and its unrolled build, `5d29849f` (E0277, no ICE).
The test checks that this higher-ranked where-clause example fails to compile instead of causing an ICE in the new trait solver.

Closes rust-lang#155977

cc @lcnr
rust-bors Bot pushed a commit that referenced this pull request Oct 14, 2026
…uwer

Rollup of 11 pull requests

Successful merges:

 - #162749 (Recover missing `turbofish` for `lifetime` arguments in expression position)
 - #164170 (Prefer WriteConsoleW for stdout on Windows)
 - #164255 (test DSL eagerly handle false constraints)
 - #163230 (Document zero-sized allocations properly for `Box` and `Vec`)
 - #163940 (Parse move exprs as a bottom expr instead of a prefix expr)
 - #164219 (Windows FileExt trait doesn't need to handle ErrorKind::Interrupted; test improvements for same)
 - #164220 (Test the interaction between `--remap-path-prefix` and doctests)
 - #164266 (rustdoc: Improvements for `rustc_must_implement_one_of`)
 - #164272 (Add regression test for #155977)
 - #164287 (Add regression test for hang in overlap check with GAT alias)
 - #164301 (fix issue number for feature(unsized_const_params))
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 14, 2026
Add regression test for rust-lang#155977

The ICE was fixed by rust-lang#156976. I checked the final test on its base build, `3c00c96d` (ICE), and its unrolled build, `5d29849f` (E0277, no ICE).
The test checks that this higher-ranked where-clause example fails to compile instead of causing an ICE in the new trait solver.

Closes rust-lang#155977

cc @lcnr
rust-bors Bot pushed a commit that referenced this pull request Oct 14, 2026
…uwer

Rollup of 17 pull requests

Successful merges:

 - #162749 (Recover missing `turbofish` for `lifetime` arguments in expression position)
 - #164165 (Add a new `rustc_show_spans` internal attribute)
 - #164170 (Prefer WriteConsoleW for stdout on Windows)
 - #164208 (Implement better resolution for delegation `Self` mapping field)
 - #164255 (test DSL eagerly handle false constraints)
 - #163230 (Document zero-sized allocations properly for `Box` and `Vec`)
 - #163442 (Fix fudging)
 - #163940 (Parse move exprs as a bottom expr instead of a prefix expr)
 - #164079 (document some quirks around directory symlinks on Windows)
 - #164178 (Fix `diagnostic::on_unknown` format placeholder for paths in expressions and type paths)
 - #164219 (Windows FileExt trait doesn't need to handle ErrorKind::Interrupted; test improvements for same)
 - #164266 (rustdoc: Improvements for `rustc_must_implement_one_of`)
 - #164272 (Add regression test for #155977)
 - #164287 (Add regression test for hang in overlap check with GAT alias)
 - #164292 (Remove the `span_use_eq_ctxt` lint)
 - #164301 (fix issue number for feature(unsized_const_params))
 - #164309 (point at the opaque when its hidden type cannot be inferred)
@rust-bors
rust-bors Bot merged commit 398a666 into rust-lang:main Oct 14, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Oct 14, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 14, 2026
Rollup merge of #164272 - Kuksgauzen:test-155977, r=adwinwhite

Add regression test for #155977

The ICE was fixed by #156976. I checked the final test on its base build, `3c00c96d` (ICE), and its unrolled build, `5d29849f` (E0277, no ICE).
The test checks that this higher-ranked where-clause example fails to compile instead of causing an ICE in the new trait solver.

Closes #155977

cc @lcnr
Kuksgauzen added a commit to Kuksgauzen/Kuksgauzen that referenced this pull request Oct 15, 2026
josetorrs pushed a commit to josetorrs/miri that referenced this pull request Oct 16, 2026
…uwer

Rollup of 17 pull requests

Successful merges:

 - rust-lang/rust#162749 (Recover missing `turbofish` for `lifetime` arguments in expression position)
 - rust-lang/rust#164165 (Add a new `rustc_show_spans` internal attribute)
 - rust-lang/rust#164170 (Prefer WriteConsoleW for stdout on Windows)
 - rust-lang/rust#164208 (Implement better resolution for delegation `Self` mapping field)
 - rust-lang/rust#164255 (test DSL eagerly handle false constraints)
 - rust-lang/rust#163230 (Document zero-sized allocations properly for `Box` and `Vec`)
 - rust-lang/rust#163442 (Fix fudging)
 - rust-lang/rust#163940 (Parse move exprs as a bottom expr instead of a prefix expr)
 - rust-lang/rust#164079 (document some quirks around directory symlinks on Windows)
 - rust-lang/rust#164178 (Fix `diagnostic::on_unknown` format placeholder for paths in expressions and type paths)
 - rust-lang/rust#164219 (Windows FileExt trait doesn't need to handle ErrorKind::Interrupted; test improvements for same)
 - rust-lang/rust#164266 (rustdoc: Improvements for `rustc_must_implement_one_of`)
 - rust-lang/rust#164272 (Add regression test for rust-lang/rust#155977)
 - rust-lang/rust#164287 (Add regression test for hang in overlap check with GAT alias)
 - rust-lang/rust#164292 (Remove the `span_use_eq_ctxt` lint)
 - rust-lang/rust#164301 (fix issue number for feature(unsized_const_params))
 - rust-lang/rust#164309 (point at the opaque when its hidden type cannot be inferred)
Kuksgauzen added a commit to Kuksgauzen/Kuksgauzen that referenced this pull request Oct 17, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
…16, r=lcnr

Add regression test for rust-lang#151316

Adds a regression test for rust-lang#151316, covering the three examples from the issue.

A plain bisect points at rust-lang#156976, but that PR only hides the ICE behind the
E0277 error: with `-Zeagerly-emit-delayed-bugs` the `could not normalize`
delayed bug is still emitted until rust-lang#159649, and bisecting with that flag lands
exactly on rust-lang#159649. This is the same as what happened in rust-lang#156700.

This is similar to the test added in rust-lang#164272 for rust-lang#155977 (which also keeps the
delayed bug until rust-lang#159649), but the examples here also cover `FnOnce`
projections and `non_lifetime_binders`.

The test ICEs on nightly-2026-07-01 and only reports E0277 on current master.

Closes rust-lang#151316 closes rust-lang#156700

r? @lcnr

### LLM disclosure
The task itself came from the issue (find the fixing PR and add tests).
I used an LLM to run the bisects (including the one with
`-Zeagerly-emit-delayed-bugs` that points at rust-lang#159649), and to help write the
test and draft some texts. I reviewed the test and the results myself, so I
understand the change.
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
…16, r=lcnr

Add regression test for rust-lang#151316

Adds a regression test for rust-lang#151316, covering the three examples from the issue.

A plain bisect points at rust-lang#156976, but that PR only hides the ICE behind the
E0277 error: with `-Zeagerly-emit-delayed-bugs` the `could not normalize`
delayed bug is still emitted until rust-lang#159649, and bisecting with that flag lands
exactly on rust-lang#159649. This is the same as what happened in rust-lang#156700.

This is similar to the test added in rust-lang#164272 for rust-lang#155977 (which also keeps the
delayed bug until rust-lang#159649), but the examples here also cover `FnOnce`
projections and `non_lifetime_binders`.

The test ICEs on nightly-2026-07-01 and only reports E0277 on current master.

Closes rust-lang#151316 closes rust-lang#156700

r? @lcnr

### LLM disclosure
The task itself came from the issue (find the fixing PR and add tests).
I used an LLM to run the bisects (including the one with
`-Zeagerly-emit-delayed-bugs` that points at rust-lang#159649), and to help write the
test and draft some texts. I reviewed the test and the results myself, so I
understand the change.
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup merge of #164543 - machinedramon:regression-test-151316, r=lcnr

Add regression test for #151316

Adds a regression test for #151316, covering the three examples from the issue.

A plain bisect points at #156976, but that PR only hides the ICE behind the
E0277 error: with `-Zeagerly-emit-delayed-bugs` the `could not normalize`
delayed bug is still emitted until #159649, and bisecting with that flag lands
exactly on #159649. This is the same as what happened in #156700.

This is similar to the test added in #164272 for #155977 (which also keeps the
delayed bug until #159649), but the examples here also cover `FnOnce`
projections and `non_lifetime_binders`.

The test ICEs on nightly-2026-07-01 and only reports E0277 on current master.

Closes #151316 closes #156700

r? @lcnr

### LLM disclosure
The task itself came from the issue (find the fixing PR and add tests).
I used an LLM to run the bisects (including the one with
`-Zeagerly-emit-delayed-bugs` that points at #159649), and to help write the
test and draft some texts. I reviewed the test and the results myself, so I
understand the change.
TDecking pushed a commit to TDecking/miri that referenced this pull request Nov 25, 2026
Add regression test for #151316

Adds a regression test for rust-lang/rust#151316, covering the three examples from the issue.

A plain bisect points at rust-lang/rust#156976, but that PR only hides the ICE behind the
E0277 error: with `-Zeagerly-emit-delayed-bugs` the `could not normalize`
delayed bug is still emitted until rust-lang/rust#159649, and bisecting with that flag lands
exactly on rust-lang/rust#159649. This is the same as what happened in rust-lang/rust#156700.

This is similar to the test added in rust-lang/rust#164272 for rust-lang/rust#155977 (which also keeps the
delayed bug until rust-lang/rust#159649), but the examples here also cover `FnOnce`
projections and `non_lifetime_binders`.

The test ICEs on nightly-2026-07-01 and only reports E0277 on current master.

Closes rust-lang/rust#151316 closes rust-lang/rust#156700

r? @lcnr

### LLM disclosure
The task itself came from the issue (find the fixing PR and add tests).
I used an LLM to run the bisects (including the one with
`-Zeagerly-emit-delayed-bugs` that points at rust-lang/rust#159649), and to help write the
test and draft some texts. I reviewed the test and the results myself, so I
understand the change.
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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ICE]: could not normalize Binder

3 participants