From 7b4a4b51ac4c56b76585da9ca7b22156bb4b8371 Mon Sep 17 00:00:00 2001 From: Sunjay Varma Date: Mon, 30 Oct 2017 13:18:55 -0400 Subject: [PATCH] New error message with issue link --- src/cargo/core/registry.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cargo/core/registry.rs b/src/cargo/core/registry.rs index 4ff031fde..c1200fd36 100644 --- a/src/cargo/core/registry.rs +++ b/src/cargo/core/registry.rs @@ -194,8 +194,9 @@ impl<'cfg> PackageRegistry<'cfg> { let summary = match summaries.next() { Some(summary) => summary, None => { - bail!("patch for `{}` in `{}` did not resolve to any crates. Your patched \ - dependency may conflict with the version in Cargo.lock.", + bail!("patch for `{}` in `{}` did not resolve to any crates. If this is \ + unexpected, you may wish to consult: \ + https://github.com/rust-lang/cargo/issues/4678", dep.name(), url) } }; -- 2.30.2