Rollup merge of #44464 - Dushistov:master, r=alexcrichton
Rollup merge of #44464 - Dushistov:master, r=alexcrichton

add test for #41229

Closes #41229

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