Skip to content

Add regression test for closure return ICE - #156280

Merged
rust-bors[bot] merged 1 commit into
rust-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 into
rust-lang:mainfrom
TaKO8Ki:issue-155893-closure-return-ice

Conversation

@TaKO8Ki

@TaKO8KiTaKO8Ki commented May 7, 2026

Copy link
Copy Markdown
Member

Fixes#155893

@rustbotrustbot 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

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

lqd commented May 7, 2026

Copy link
Copy Markdown
Member

there was an even shorter MCVE in that issue

@TaKO8Ki
TaKO8Kiforce-pushed the issue-155893-closure-return-ice branch from 6c8a6f9 to ddddb4dCompareMay 7, 2026 14:33
@lqd

lqd commented May 7, 2026

Copy link
Copy Markdown
Member

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

rust-borsBot commented May 7, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ddddb4d has been approved by lqd

It is now in the queue for this repository.

@rust-borsrust-borsBot 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-borsBot 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-borsBot merged commit e56e388 into rust-lang:mainMay 8, 2026
11 checks passed
@rustbotrustbot 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
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 17, 2026
…uwer
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#156061 (Support `-Cpanic=unwind` on WASI targets)
- rust-lang/rust#151753 (Experiment: Reborrow traits)
- rust-lang/rust#156280 (Add regression test for closure return ICE)
- rust-lang/rust#152487 (core: drop unmapped ZSTs in array `map`)
- rust-lang/rust#153759 (Add a suite of ChunkedBitSet union/subtract/intersect test scenarios)
- rust-lang/rust#156198 (Add `sync` option to `-Z threads` to force synchronization on one thread)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant 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

@TaKO8Ki@rustbot@lqd@petrochenkov