New error message with issue link
authorSunjay Varma <varma.sunjay@gmail.com>
Mon, 30 Oct 2017 17:18:55 +0000 (13:18 -0400)
committerSunjay Varma <varma.sunjay@gmail.com>
Mon, 30 Oct 2017 17:18:55 +0000 (13:18 -0400)
src/cargo/core/registry.rs

index 4ff031fdeaaa08a0c7e04c85c498a678e1af18bc..c1200fd36a2572f5b3c7954307dfc517e8d3ae51 100644 (file)
@@ -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)
                 }
             };