From: bors Date: Fri, 23 Mar 2018 15:28:44 +0000 (+0000) Subject: Auto merge of #5233 - lukaslueg:issue5229, r=matklad X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2f6cd6cf28941501c82f6a5998c674e9226fa9ce;p=cargo.git Auto merge of #5233 - lukaslueg:issue5229, r=matklad Assert Dependency::name is never empty, prevent 'install ""' from crashing An explicit `cargo install ""` would cause clap to pass an empty crate-name, leading to a panic(). We now assert() that Dependency::name is never the empty string and prevent the situation in the first place by not allowing the crate-name to be empty for `install`. Fixes #5229 --- 2f6cd6cf28941501c82f6a5998c674e9226fa9ce