Rollup merge of #30626 - steveklabnik:gh30618, r=luqmana
Rollup merge of #30626 - steveklabnik:gh30618, r=luqmana

Fixes #30618

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