From: Sunjay Varma Date: Mon, 30 Oct 2017 17:18:55 +0000 (-0400) Subject: New error message with issue link X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~5^2~21^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b4a4b51ac4c56b76585da9ca7b22156bb4b8371;p=cargo.git New error message with issue link --- 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) } };