Rollup merge of #31607 - steveklabnik:gh31599, r=brson
Rollup merge of #31607 - steveklabnik:gh31599, r=brson

Fixes #31599

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