Rollup merge of #62994 - iluuu1994:test-for-43398, r=nikomatsakis
Rollup merge of #62994 - iluuu1994:test-for-43398, r=nikomatsakis

Add test for #43398

Closes #43398

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