]> git.proxmox.com Git - cargo.git/commit
Auto merge of #6824 - ehuss:improve-test-rerun-hint, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 8 Apr 2019 17:58:06 +0000 (17:58 +0000)
committerbors <bors@rust-lang.org>
Mon, 8 Apr 2019 17:58:06 +0000 (17:58 +0000)
commit0216dcd41837b3bcb6578b2043876f8966663246
treeb6dae9f3ef3cf6771cfe2c5ecb21e2374f7eeac4
parent73036daa8f820716f0c2977bda375670467c60ed
parent44c535ab0981de96c59606879a145b789d93f95e
Auto merge of #6824 - ehuss:improve-test-rerun-hint, r=alexcrichton

Improve error message to rerun a test in a workspace.

In a non-virtual workspace, if you run `cargo test --all` and something fails, it tells you to rerun `--test foo`, but if `foo` is not the default, then it won't work without a `-p` flag.  This tries to be a little more careful about when `-p` is needed in the hint.