Rollup merge of #139541 - compiler-errors:transmute, r=lcnr

Instantiate higher-ranked transmute goal w/ placeholders before emitting sub-obligations

This avoids an ICE where we weren't keeping track of bound variables correctly in the `Freeze` obligations we emit for transmute goals. We could use `rebind` instead on that goal, but I think it's better just to instantiate the binder.

Fixes #139538

r? `@lcnr` or reassign
This commit is contained in:
Matthias Krüger 2025-04-08 21:26:02 +02:00 committed by GitHub
commit 8fcd5484bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available