rollup merge of #24894: bguiz/diagnostic-E0267
rollup merge of #24894: bguiz/diagnostic-E0267

This error indicates that a constant references itself.
All constants need to resolve to a value in an acyclic manner.

For example, neither of the following can be sensibly compiled:

```
const X: u32 = X;
```

```
const X: u32 = Y;
const Y: u32 = X;
```

kwantam/rust,kwantam/rust,XMPPwocky/rust,vhbit/rust,KokaKiwi/rust,ejjeong/rust,krzysz00/rust,jashank/rust,l0kod/rust,seanrivera/rust,andars/rust,krzysz00/rust,victorvde/rust,reem/rust,zachwick/rust,jashank/rust,zubron/rust,KokaKiwi/rust,carols10cents/rust,mdinger/rust,victorvde/rust,mvdnes/rust,mdinger/rust,zachwick/rust,reem/rust,graydon/rust,carols10cents/rust,carols10cents/rust,l0kod/rust,dwillmer/rust,vhbit/rust,aneeshusa/rust,graydon/rust,philyoon/rust,vhbit/rust,kwantam/rust,gifnksm/rust,aepsil0n/rust,aepsil0n/rust,pelmers/rust,seanrivera/rust,dwillmer/rust,reem/rust,vhbit/rust,sae-bom/rust,victorvde/rust,vhbit/rust,GBGamer/rust,aneeshusa/rust,robertg/rust,aepsil0n/rust,gifnksm/rust,omasanori/rust,graydon/rust,robertg/rust,zachwick/rust,dwillmer/rust,nwin/rust,mihneadb/rust,robertg/rust,GBGamer/rust,andars/rust,pelmers/rust,cllns/rust,zubron/rust,victorvde/rust,graydon/rust,rohitjoshi/rust,pshc/rust,gifnksm/rust,aneeshusa/rust,l0kod/rust,kwantam/rust,pelmers/rust,zubron/rust,omasanori/rust,pelmers/rust,aneeshusa/rust,mdinger/rust,XMPPwocky/rust,jroesch/rust,nwin/rust,ejjeong/rust,andars/rust,aidancully/rust,philyoon/rust,victorvde/rust,aepsil0n/rust,KokaKiwi/rust,pshc/rust,sae-bom/rust,philyoon/rust,GBGamer/rust,aidancully/rust,jroesch/rust,rohitjoshi/rust,philyoon/rust,andars/rust,mdinger/rust,ejjeong/rust,robertg/rust,GBGamer/rust,omasanori/rust,krzysz00/rust,aidancully/rust,l0kod/rust,aidancully/rust,mihneadb/rust,rohitjoshi/rust,graydon/rust,ejjeong/rust,philyoon/rust,zachwick/rust,jashank/rust,kwantam/rust,ejjeong/rust,krzysz00/rust,robertg/rust,jroesch/rust,KokaKiwi/rust,robertg/rust,mihneadb/rust,mvdnes/rust,vhbit/rust,TheNeikos/rust,pshc/rust,aidancully/rust,sae-bom/rust,l0kod/rust,nwin/rust,kwantam/rust,andars/rust,mvdnes/rust,mvdnes/rust,carols10cents/rust,aneeshusa/rust,seanrivera/rust,rohitjoshi/rust,pelmers/rust,cllns/rust,nwin/rust,KokaKiwi/rust,jroesch/rust,pshc/rust,seanrivera/rust,dwillmer/rust,omasanori/rust,zubron/rust,jashank/rust,aepsil0n/rust,jashank/rust,nwin/rust,jashank/rust,zachwick/rust,mvdnes/rust,cllns/rust,pshc/rust,vhbit/rust,cllns/rust,GBGamer/rust,zachwick/rust,dwillmer/rust,jroesch/rust,vhbit/rust,mdinger/rust,sae-bom/rust,pelmers/rust,GBGamer/rust,reem/rust,victorvde/rust,dwillmer/rust,GBGamer/rust,mihneadb/rust,cllns/rust,sae-bom/rust,XMPPwocky/rust,andars/rust,reem/rust,mdinger/rust,pshc/rust,aepsil0n/rust,seanrivera/rust,carols10cents/rust,aidancully/rust,gifnksm/rust,XMPPwocky/rust,sae-bom/rust,TheNeikos/rust,nwin/rust,gifnksm/rust,GBGamer/rust,mihneadb/rust,rohitjoshi/rust,XMPPwocky/rust,krzysz00/rust,TheNeikos/rust,TheNeikos/rust,jroesch/rust,mvdnes/rust,krzysz00/rust,zubron/rust,dwillmer/rust,omasanori/rust,omasanori/rust,gifnksm/rust,jashank/rust,zubron/rust,reem/rust,carols10cents/rust,nwin/rust,philyoon/rust,seanrivera/rust,graydon/rust,TheNeikos/rust,pshc/rust,dwillmer/rust,mihneadb/rust,pshc/rust,zubron/rust,zubron/rust,l0kod/rust,jroesch/rust,KokaKiwi/rust,nwin/rust,jroesch/rust,jashank/rust,XMPPwocky/rust,aneeshusa/rust,l0kod/rust,TheNeikos/rust,cllns/rust,rohitjoshi/rust,l0kod/rust,ejjeong/rust