Rollup merge of #34460 - dsprenkels:issue-33455, r=alexcrichton
Rollup merge of #34460 - dsprenkels:issue-33455, r=alexcrichton

Add regression test for #33455

Closes #33455.

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