Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error messages for wrong target paths
As it was stated in rust-lang#9014 it's not really useful the message that you get when using `bench/your_bench.rs` instead of the correct path `benches/your_bench.rs`. Therefore, as @ehuss suggested, the error message has been improved not only suggesting the correct path but also suggesting to specify `bench.path` in `Cargo.toml` for non-default path usage. And this has been exented to `test`, `example` and `bin`.
- Loading branch information