Skip to content

Add regression test for closure return ICE#156280

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
TaKO8Ki:issue-155893-closure-return-ice
May 8, 2026
Merged

Add regression test for closure return ICE#156280
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
TaKO8Ki:issue-155893-closure-return-ice

Conversation

@TaKO8Ki
Copy link
Copy Markdown
Member

@TaKO8Ki TaKO8Ki commented May 7, 2026

Fixes #155893

@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 May 7, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 7, 2026

r? @petrochenkov

rustbot has assigned @petrochenkov.
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 73 candidates
  • Random selection from 17 candidates

@lqd
Copy link
Copy Markdown
Member

lqd commented May 7, 2026

there was an even shorter MCVE in that issue

@TaKO8Ki TaKO8Ki force-pushed the issue-155893-closure-return-ice branch from 6c8a6f9 to ddddb4d Compare May 7, 2026 14:33
@lqd
Copy link
Copy Markdown
Member

lqd commented May 7, 2026

It could be nice to know which PR actually fixed the ICE? But either way, r=me when green

@petrochenkov
Copy link
Copy Markdown
Contributor

@bors r=lqd

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 7, 2026

📌 Commit ddddb4d has been approved by lqd

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 May 7, 2026
rust-bors Bot pushed a commit that referenced this pull request May 7, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #156061 (Support `-Cpanic=unwind` on WASI targets)
 - #151753 (Experiment: Reborrow traits)
 - #156280 (Add regression test for closure return ICE)
 - #152487 (core: drop unmapped ZSTs in array `map`)
 - #153759 (Add a suite of ChunkedBitSet union/subtract/intersect test scenarios)
 - #156198 (Add `sync` option to `-Z threads` to force synchronization on one thread)
@rust-bors rust-bors Bot merged commit e56e388 into rust-lang:main May 8, 2026
11 checks passed
@rustbot rustbot added this to the 1.97.0 milestone May 8, 2026
rust-timer added a commit that referenced this pull request May 8, 2026
Rollup merge of #156280 - TaKO8Ki:issue-155893-closure-return-ice, r=lqd

Add regression test for closure return ICE

Fixes #155893
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.

[ICE]: RefCell already mutably borrowed

4 participants