Auto merge of #2333 - matklad:remove-unused-var, r=alexcrichton
Auto merge of #2333 - matklad:remove-unused-var, r=alexcrichton

It became unused after https://github.com/rust-lang/cargo/commit/3194a23a706c17037556c11e7bf4303ea233f208

Is this intentional that unused variables are not denied in tests?

tshepang/cargo,AndiDog/cargo,brson/cargo,vojtechkral/cargo,tsurai/cargo,eminence/cargo,tshepang/cargo,tshepang/cargo,nipunn1313/cargo,achanda/cargo,blaenk/cargo,ThinTim/cargo,ThinTim/cargo,durka/cargo,achanda/cargo,rust-lang/cargo,rustyhorde/cargo,rust-lang/cargo,eminence/cargo,durka/cargo,sbeckeriv/cargo,vojtechkral/cargo,vojtechkral/cargo,vojtechkral/cargo,AndiDog/cargo,tsurai/cargo,tshepang/cargo,rustyhorde/cargo,mark-buer/cargo,sbeckeriv/cargo,durka/cargo,mark-buer/cargo,brson/cargo,rustyhorde/cargo,sbeckeriv/cargo,nipunn1313/cargo,blaenk/cargo,AndiDog/cargo,rust-lang/cargo,blaenk/cargo,ThinTim/cargo,tsurai/cargo,AndiDog/cargo,blaenk/cargo,ThinTim/cargo,ThinTim/cargo,rustyhorde/cargo,tsurai/cargo,AndiDog/cargo,achanda/cargo,brson/cargo,brson/cargo,mark-buer/cargo,nipunn1313/cargo,durka/cargo,eminence/cargo,eminence/cargo,mark-buer/cargo,mark-buer/cargo,rust-lang/cargo,nipunn1313/cargo,sbeckeriv/cargo,blaenk/cargo,tsurai/cargo,brson/cargo,achanda/cargo