Rollup merge of #36087 - apasel422:issue-28324, r=alexcrichton
Rollup merge of #36087 - apasel422:issue-28324, r=alexcrichton

Add test for #28324

Closes #28324

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