diff --git a/src/bin/cargo-miri.rs b/src/bin/cargo-miri.rs index 17d7ecf8c87..1d93654e33e 100644 --- a/src/bin/cargo-miri.rs +++ b/src/bin/cargo-miri.rs @@ -144,7 +144,8 @@ fn list_targets() -> impl Iterator { }) .unwrap_or_else(|| { show_error(format!( - "This seems to be a workspace, which is not supported by cargo-miri" + "this seems to be a workspace, which is not supported by `cargo miri`.\n\ + Try to `cd` into the crate you want to test, and re-run `cargo miri` there." )) }); let package = metadata.packages.remove(package_index);