Rollup merge of #63379 - jackh726:issue-53096, r=Centril,oli-obk
Rollup merge of #63379 - jackh726:issue-53096, r=Centril,oli-obk

Add test for issue 53096

Closes #53096

r? @oli-obk

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