Skip to content

Add regression test for hang on mutually recursive trait impls - #163114

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
zakrad:regr-test-143018
Sep 25, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
zakrad:regr-test-143018

Conversation

@zakrad

@zakrad zakrad commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #143018, it no longer hangs, it hung on nightlies through 2026-08-08 and terminates with an error from 2026-08-11

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

rustbot commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

r? @camelid

rustbot has assigned @camelid.
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 77 candidates
  • Random selection from 19 candidates

@maxdexh

maxdexh commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

(Note for readers, since I reacted to this: It also doesn't hang on nightly when running with next-solver=coherence)

edit: (and the fix is already on beta)

@camelid

camelid commented Sep 24, 2026

Copy link
Copy Markdown
Member

Thanks! @bors r+ rollup

@rust-bors

rust-bors Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit dddede5 has been approved by camelid

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 Sep 24, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Sep 24, 2026
Add regression test for hang on mutually recursive trait impls

Fixes rust-lang#143018,  it no longer hangs, it hung on nightlies through 2026-08-08 and terminates with an error from 2026-08-11
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup of 9 pull requests

Successful merges:

 - #162228 (tests: Run more pauth tests in CI and make them pass)
 - #162493 (Add support for -Zsanitizer-cfi-minimal-runtime)
 - #163271 (add a leak check test)
 - #163282 (cleanup: clean up more dependencies that are unused)
 - #157562 (Avoid computing layout of enums with non-int discriminants)
 - #162275 (Do not increase recursion depth for coroutine witness and rigid opaques when proving auto traits)
 - #163037 (fix and test `va_arg` on `f128` on `x86`)
 - #163114 (Add regression test for hang on mutually recursive trait impls)
 - #163255 (Check the entire library and cg_clif workspaces for permitted deps in tidy)
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup of 8 pull requests

Successful merges:

 - #162228 (tests: Run more pauth tests in CI and make them pass)
 - #163271 (add a leak check test)
 - #163282 (cleanup: clean up more dependencies that are unused)
 - #157562 (Avoid computing layout of enums with non-int discriminants)
 - #162275 (Do not increase recursion depth for coroutine witness and rigid opaques when proving auto traits)
 - #163037 (fix and test `va_arg` on `f128` on `x86`)
 - #163114 (Add regression test for hang on mutually recursive trait impls)
 - #163255 (Check the entire library and cg_clif workspaces for permitted deps in tidy)
@rust-bors
rust-bors Bot merged commit d63e457 into rust-lang:main Sep 25, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
Rollup merge of #163114 - zakrad:regr-test-143018, r=camelid

Add regression test for hang on mutually recursive trait impls

Fixes #143018,  it no longer hangs, it hung on nightlies through 2026-08-08 and terminates with an error from 2026-08-11
@zakrad
zakrad deleted the regr-test-143018 branch September 25, 2026 09:11
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.

rustc hangs when resolving recursive trait impls with undeclared generic types

4 participants