Fix categorization of upvars of capture-by-reference unboxed closures
Fix categorization of upvars of capture-by-reference unboxed closures

In particular, this causes mutation of an upvar to correctly mark
it as mutable during adjustment.  This makes borrowck correctly
flag conflicting borrows, etc.

We still seem to generate incorrect code in trans which copies the upvar
by value into the closure.  This remains to be fixed.

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