Remove ExactSizeIterator from 64-bit ranges.
Remove ExactSizeIterator from 64-bit ranges.

Fixes #22047

Range<u64> and Range<i64> may be longer than usize::MAX on 32-bit
platforms, and thus they cannot fulfill the protocol for
ExactSizeIterator. We don't want a nonobvious platform dependency in
basic iterator traits, so the trait impl is removed.

The logic of this change assumes that usize is at least 32-bit.

This is technically a breaking change; note that Range<usize> and
Range<isize> are always ExactSizeIterators.

[breaking-change]

miniupnp/rust,avdi/rust,pshc/rust,ebfull/rust,AerialX/rust,ruud-v-a/rust,AerialX/rust-rt-minimal,GBGamer/rust,pelmers/rust,ebfull/rust,pshc/rust,ejjeong/rust,mvdnes/rust,miniupnp/rust,nwin/rust,reem/rust,jroesch/rust,TheNeikos/rust,AerialX/rust-rt-minimal,jashank/rust,robertg/rust,graydon/rust,carols10cents/rust,seanrivera/rust,ebfull/rust,mvdnes/rust,krzysz00/rust,mihneadb/rust,philyoon/rust,jroesch/rust,krzysz00/rust,kwantam/rust,pelmers/rust,aidancully/rust,andars/rust,graydon/rust,XMPPwocky/rust,jroesch/rust,pelmers/rust,carols10cents/rust,mdinger/rust,l0kod/rust,zubron/rust,kwantam/rust,victorvde/rust,omasanori/rust,aneeshusa/rust,zaeleus/rust,krzysz00/rust,zachwick/rust,richo/rust,philyoon/rust,omasanori/rust,vhbit/rust,miniupnp/rust,omasanori/rust,seanrivera/rust,TheNeikos/rust,cllns/rust,aepsil0n/rust,AerialX/rust,ruud-v-a/rust,seanrivera/rust,untitaker/rust,philyoon/rust,mihneadb/rust,jashank/rust,aepsil0n/rust,aneeshusa/rust,rprichard/rust,krzysz00/rust,mvdnes/rust,l0kod/rust,zaeleus/rust,seanrivera/rust,zachwick/rust,robertg/rust,aneeshusa/rust,sae-bom/rust,mvdnes/rust,pshc/rust,zubron/rust,pshc/rust,cllns/rust,mdinger/rust,jroesch/rust,KokaKiwi/rust,mihneadb/rust,ebfull/rust,pshc/rust,ebfull/rust,zubron/rust,aepsil0n/rust,zubron/rust,l0kod/rust,mdinger/rust,KokaKiwi/rust,nwin/rust,robertg/rust,graydon/rust,zubron/rust,seanrivera/rust,mvdnes/rust,dwillmer/rust,rohitjoshi/rust,aneeshusa/rust,ejjeong/rust,philyoon/rust,untitaker/rust,pshc/rust,TheNeikos/rust,carols10cents/rust,zubron/rust,AerialX/rust,richo/rust,nwin/rust,rohitjoshi/rust,ruud-v-a/rust,ruud-v-a/rust,aepsil0n/rust,miniupnp/rust,aidancully/rust,ejjeong/rust,aepsil0n/rust,mdinger/rust,l0kod/rust,mahkoh/rust,reem/rust,jroesch/rust,pelmers/rust,l0kod/rust,sae-bom/rust,reem/rust,nwin/rust,mdinger/rust,richo/rust,carols10cents/rust,dwillmer/rust,mihneadb/rust,avdi/rust,gifnksm/rust,dwillmer/rust,cllns/rust,rprichard/rust,rohitjoshi/rust,XMPPwocky/rust,avdi/rust,l0kod/rust,mahkoh/rust,zaeleus/rust,ejjeong/rust,GBGamer/rust,reem/rust,XMPPwocky/rust,GBGamer/rust,philyoon/rust,kwantam/rust,jroesch/rust,XMPPwocky/rust,reem/rust,jroesch/rust,nwin/rust,andars/rust,TheNeikos/rust,andars/rust,mihneadb/rust,victorvde/rust,l0kod/rust,aidancully/rust,zubron/rust,rohitjoshi/rust,kwantam/rust,rprichard/rust,omasanori/rust,philyoon/rust,ejjeong/rust,GBGamer/rust,pshc/rust,pshc/rust,robertg/rust,ruud-v-a/rust,nwin/rust,jroesch/rust,AerialX/rust,miniupnp/rust,dwillmer/rust,GBGamer/rust,untitaker/rust,aepsil0n/rust,KokaKiwi/rust,mdinger/rust,jashank/rust,GBGamer/rust,AerialX/rust,graydon/rust,pelmers/rust,dwillmer/rust,zubron/rust,gifnksm/rust,graydon/rust,vhbit/rust,XMPPwocky/rust,zachwick/rust,untitaker/rust,graydon/rust,miniupnp/rust,avdi/rust,aneeshusa/rust,aidancully/rust,miniupnp/rust,victorvde/rust,AerialX/rust-rt-minimal,pelmers/rust,aidancully/rust,zaeleus/rust,jashank/rust,cllns/rust,victorvde/rust,ejjeong/rust,carols10cents/rust,AerialX/rust-rt-minimal,vhbit/rust,omasanori/rust,gifnksm/rust,rprichard/rust,dwillmer/rust,jashank/rust,rprichard/rust,zachwick/rust,vhbit/rust,TheNeikos/rust,rohitjoshi/rust,ebfull/rust,untitaker/rust,robertg/rust,dwillmer/rust,vhbit/rust,mahkoh/rust,KokaKiwi/rust,ruud-v-a/rust,gifnksm/rust,krzysz00/rust,victorvde/rust,sae-bom/rust,aneeshusa/rust,gifnksm/rust,carols10cents/rust,cllns/rust,jashank/rust,mahkoh/rust,vhbit/rust,cllns/rust,andars/rust,jashank/rust,dwillmer/rust,richo/rust,kwantam/rust,KokaKiwi/rust,sae-bom/rust,krzysz00/rust,reem/rust,avdi/rust,mahkoh/rust,zachwick/rust,nwin/rust,TheNeikos/rust,l0kod/rust,gifnksm/rust,AerialX/rust,AerialX/rust-rt-minimal,sae-bom/rust,untitaker/rust,kwantam/rust,andars/rust,sae-bom/rust,vhbit/rust,richo/rust,avdi/rust,zaeleus/rust,aidancully/rust,mahkoh/rust,GBGamer/rust,seanrivera/rust,andars/rust,zachwick/rust,XMPPwocky/rust,rprichard/rust,GBGamer/rust,mvdnes/rust,vhbit/rust,AerialX/rust-rt-minimal,mihneadb/rust,omasanori/rust,jashank/rust,victorvde/rust,nwin/rust,robertg/rust,miniupnp/rust,zaeleus/rust,rohitjoshi/rust,KokaKiwi/rust,richo/rust