auto merge of #8006 : emillon/rust/issue-6060, r=pcwalton
auto merge of #8006 : emillon/rust/issue-6060, r=pcwalton

Hello,

I made a tiny change to `tidy.py` so that it uses a regexp to find `// NOTE` comments. I could not find an easy way to write an automated test for this but if this is needed and possible I'd be happy to write one.
Please note that it also removes extra empty lines that appear after each of these warnings (I believe that there were not wanted).

On the performance side, `make tidy` is now a bit slower (running it 10 times in a row takes 71s on my machine, 65s before) but I don't think that it is performance sensitive.

Thanks!

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