Rollup merge of #34136 - imjacobclark:ice-test-case-25579, r=nikomatsakis
Rollup merge of #34136 - imjacobclark:ice-test-case-25579, r=nikomatsakis

Test case for borrowk ICE #25579

r? @nikomatsakis

Fixes #25579

aidancully/rust,graydon/rust,GBGamer/rust,graydon/rust,aidancully/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,graydon/rust,graydon/rust,GBGamer/rust,graydon/rust,GBGamer/rust,GBGamer/rust,graydon/rust