Auto merge of #4964 - JohnTitor:fix-potential-ice, r=flip1995
Auto merge of #4964 - JohnTitor:fix-potential-ice, r=flip1995

Possibly fix an ICE on test

Fix a potential ICE on test with debug assertion, caused on rust-lang/rust#67661.
r? @oli-obk

changelog: none

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