auto merge of #13783 : wackywendell/rust/permfix, r=kballard
auto merge of #13783 : wackywendell/rust/permfix, r=kballard

I filed bugs #13734 and #13759 recently, and then realized I could probably fix them myself. This does exactly that, with a couple additional modifications and additions to the test-suite to pick up on that.

I've never done this before, so please feel free to tell me all the things I'm doing wrong or could be doing better.

hauleth/rust,aidancully/rust,zachwick/rust,mdinger/rust,dwillmer/rust,emk/rust,victorvde/rust,carols10cents/rust,ktossell/rust,rohitjoshi/rust,untitaker/rust,l0kod/rust,andars/rust,ejjeong/rust,aidancully/rust,GBGamer/rust,nwin/rust,P1start/rust,mahkoh/rust,reem/rust,stepancheg/rust-ide-rust,aepsil0n/rust,ebfull/rust,P1start/rust,l0kod/rust,barosl/rust,krzysz00/rust,ktossell/rust,0x73/rust,P1start/rust,erickt/rust,rprichard/rust,kimroen/rust,mihneadb/rust,jashank/rust,philyoon/rust,rohitjoshi/rust,richo/rust,pshc/rust,dwillmer/rust,bombless/rust,pczarn/rust,aepsil0n/rust,carols10cents/rust,gifnksm/rust,AerialX/rust-rt-minimal,pelmers/rust,vhbit/rust,rprichard/rust,XMPPwocky/rust,stepancheg/rust-ide-rust,vhbit/rust,miniupnp/rust,mihneadb/rust,zachwick/rust,dinfuehr/rust,P1start/rust,quornian/rust,andars/rust,quornian/rust,Ryman/rust,ktossell/rust,AerialX/rust,aneeshusa/rust,AerialX/rust,sae-bom/rust,GrahamDennis/rand,mdinger/rust,zubron/rust,jashank/rust,miniupnp/rust,zubron/rust,aneeshusa/rust,0x73/rust,mvdnes/rust,l0kod/rust,richo/rust,miniupnp/rust,achanda/rand,cllns/rust,robertg/rust,TheNeikos/rust,0x73/rust,ktossell/rust,kimroen/rust,jashank/rust,ebfull/rust,Ryman/rust,nham/rust,victorvde/rust,GBGamer/rust,krzysz00/rust,cllns/rust,mahkoh/rust,pczarn/rust,pshc/rust,kwantam/rust,nham/rust,dwillmer/rust,huonw/rand,aturon/rust,emk/rust,l0kod/rust,bluss/rand,richo/rust,rohitjoshi/rust,AerialX/rust-rt-minimal,nham/rust,nwin/rust,pshc/rust,servo/rust,pczarn/rust,reem/rust,aidancully/rust,hauleth/rust,jashank/rust,dwillmer/rust,pelmers/rust,TheNeikos/rust,jashank/rust,ebfull/rust,GBGamer/rust,dinfuehr/rust,cllns/rust,graydon/rust,XMPPwocky/rust,jashank/rust,jbclements/rust,zubron/rust,andars/rust,omasanori/rust,sae-bom/rust,ruud-v-a/rust,defuz/rust,KokaKiwi/rust,bombless/rust-docs-chinese,jroesch/rust,richo/rust,aturon/rust,cllns/rust,quornian/rust,robertg/rust,shepmaster/rand,KokaKiwi/rust,reem/rust,nwin/rust,aneeshusa/rust,AerialX/rust,AerialX/rust,servo/rust,vhbit/rust,aturon/rust,philyoon/rust,rohitjoshi/rust,ebfull/rust,philyoon/rust,ruud-v-a/rust,omasanori/rust,pczarn/rust,P1start/rust,Ryman/rust,emk/rust,Ryman/rust,richo/rust,mdinger/rust,philyoon/rust,bombless/rust,vhbit/rust,0x73/rust,graydon/rust,untitaker/rust,mvdnes/rust,GBGamer/rust,rohitjoshi/rust,TheNeikos/rust,erickt/rust,mdinger/rust,zubron/rust,rprichard/rust,quornian/rust,defuz/rust,aepsil0n/rust,KokaKiwi/rust,zubron/rust,barosl/rust,cllns/rust,defuz/rust,aturon/rust,zaeleus/rust,carols10cents/rust,jbclements/rust,robertg/rust,carols10cents/rust,servo/rust,erickt/rust,gifnksm/rust,jbclements/rust,reem/rust,aidancully/rust,dwillmer/rust,vhbit/rust,seanrivera/rust,bombless/rust,dwillmer/rust,aneeshusa/rust,kwantam/rust,vhbit/rust,nham/rust,ktossell/rust,zachwick/rust,pelmers/rust,mihneadb/rust,KokaKiwi/rust,kimroen/rust,pelmers/rust,XMPPwocky/rust,quornian/rust,mdinger/rust,pczarn/rust,emk/rust,0x73/rust,sae-bom/rust,carols10cents/rust,cllns/rust,rprichard/rust,defuz/rust,zaeleus/rust,miniupnp/rust,victorvde/rust,untitaker/rust,bombless/rust,miniupnp/rust,nham/rust,l0kod/rust,erickt/rust,KokaKiwi/rust,seanrivera/rust,graydon/rust,P1start/rust,kwantam/rust,erickt/rust,zaeleus/rust,jbclements/rust,mvdnes/rust,untitaker/rust,TheNeikos/rust,zaeleus/rust,AerialX/rust,vhbit/rust,AerialX/rust-rt-minimal,krzysz00/rust,ruud-v-a/rust,pshc/rust,rprichard/rust,bombless/rust,mahkoh/rust,barosl/rust,stepancheg/rust-ide-rust,philyoon/rust,victorvde/rust,TheNeikos/rust,sae-bom/rust,ejjeong/rust,GBGamer/rust,dinfuehr/rust,zaeleus/rust,graydon/rust,jroesch/rust,aneeshusa/rust,dinfuehr/rust,aidancully/rust,kwantam/rust,richo/rust,krzysz00/rust,aidancully/rust,victorvde/rust,waynenilsen/rand,pshc/rust,untitaker/rust,hauleth/rust,hauleth/rust,stepancheg/rust-ide-rust,servo/rust,mihneadb/rust,seanrivera/rust,aepsil0n/rust,dwillmer/rust,seanrivera/rust,kimroen/rust,gifnksm/rust,pczarn/rust,aneeshusa/rust,mahkoh/rust,avdi/rust,P1start/rust,ktossell/rust,avdi/rust,vhbit/rust,rprichard/rust,ktossell/rust,reem/rust,omasanori/rust,jbclements/rust,kimroen/rust,nham/rust,AerialX/rust-rt-minimal,robertg/rust,robertg/rust,ejjeong/rust,miniupnp/rust,gifnksm/rust,mvdnes/rust,ebfull/rust,AerialX/rust-rt-minimal,ruud-v-a/rust,seanrivera/rust,avdi/rust,dinfuehr/rust,l0kod/rust,aepsil0n/rust,TheNeikos/rust,nwin/rust,ebfull/rand,gifnksm/rust,arthurprs/rand,ruud-v-a/rust,bombless/rust,defuz/rust,0x73/rust,kimroen/rust,zubron/rust,jashank/rust,zachwick/rust,nham/rust,jbclements/rust,pshc/rust,omasanori/rust,philyoon/rust,barosl/rust,AerialX/rust-rt-minimal,stepancheg/rust-ide-rust,Ryman/rust,seanrivera/rust,jroesch/rust,nwin/rust,AerialX/rust,XMPPwocky/rust,ejjeong/rust,ebfull/rust,mihneadb/rust,jroesch/rust,miniupnp/rust,jroesch/rust,andars/rust,barosl/rust,zubron/rust,mahkoh/rust,ejjeong/rust,avdi/rust,servo/rust,zachwick/rust,mdinger/rust,retep998/rand,ejjeong/rust,untitaker/rust,kimroen/rust,XMPPwocky/rust,zaeleus/rust,kwantam/rust,quornian/rust,defuz/rust,jroesch/rust,avdi/rust,robertg/rust,nwin/rust,XMPPwocky/rust,pelmers/rust,quornian/rust,sae-bom/rust,pelmers/rust,zachwick/rust,mvdnes/rust,stepancheg/rust-ide-rust,pshc/rust,servo/rust,dwillmer/rust,krzysz00/rust,andars/rust,ruud-v-a/rust,dinfuehr/rust,jashank/rust,barosl/rust,nwin/rust,l0kod/rust,zubron/rust,omasanori/rust,0x73/rust,reem/rust,sae-bom/rust,hauleth/rust,aturon/rust,omasanori/rust,erickt/rust,jbclements/rust,jroesch/rust,pczarn/rust,carols10cents/rust,kwantam/rust,Ryman/rust,nwin/rust,servo/rust,aepsil0n/rust,aturon/rust,GBGamer/rust,emk/rust,victorvde/rust,rohitjoshi/rust,emk/rust,barosl/rust,graydon/rust,andars/rust,hauleth/rust,pshc/rust,mahkoh/rust,Ryman/rust,jbclements/rust,mihneadb/rust,avdi/rust,KokaKiwi/rust,graydon/rust,GBGamer/rust,krzysz00/rust,jroesch/rust,l0kod/rust,miniupnp/rust,mvdnes/rust,emk/rust,GBGamer/rust,jbclements/rust,gifnksm/rust,erickt/rust,bhickey/rand,aturon/rust,stepancheg/rust-ide-rust