Normalize capture place `ty`s to prevent ICE by JohnTitor · Pull Request #152165 · rust-lang/rust

lcnr

lcnr

lcnr

lcnr

lcnr

lcnr

lcnr

rust-bors bot pushed a commit that referenced this pull request

Feb 26, 2026
Normalize capture place `ty`s to prevent ICE

@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

Feb 27, 2026

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request

Feb 28, 2026

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request

Feb 28, 2026

This was referenced

Feb 28, 2026

rust-bors bot pushed a commit that referenced this pull request

Feb 28, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #153211 (`rust-analyzer` subtree update)
 - #149027 (Improve cross-crate trait impl param mismatch suggestions )
 - #152730 (add field representing types)
 - #153136 (Correctly handle `#[doc(alias = "...")]` attribute on inlined reexports)
 - #152165 (Normalize capture place `ty`s to prevent ICE)
 - #152615 (refactor 'valid for read/write' definition: exclude null)
 - #153109 (Fix LegacyKeyValueFormat report from docker build: aarch64-gnu-debug)
 - #153172 (Fix comment about placeholders)
 - #153187 (Fix ICE when macro-expanded extern crate shadows std)
 - #153190 (Don't allow subdiagnostic to use variables from their parent)
 - #153200 (Remove redundant clone)
 - #153216 (mark two polonius tests as known-bug)

rust-timer added a commit that referenced this pull request

Feb 28, 2026
Rollup merge of #152165 - JohnTitor:issue-151579, r=lcnr

Normalize capture place `ty`s to prevent ICE

Fixes #151579
Fixes #120811
r? @lcnr