Skip to content

Commit 7b4a4b5

Browse files
committed
New error message with issue link
1 parent b6ba5e7 commit 7b4a4b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cargo/core/registry.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,9 @@ impl<'cfg> PackageRegistry<'cfg> {
194194
let summary = match summaries.next() {
195195
Some(summary) => summary,
196196
None => {
197-
bail!("patch for `{}` in `{}` did not resolve to any crates. Your patched \
198-
dependency may conflict with the version in Cargo.lock.",
197+
bail!("patch for `{}` in `{}` did not resolve to any crates. If this is \
198+
unexpected, you may wish to consult: \
199+
https://github.com/rust-lang/cargo/issues/4678",
199200
dep.name(), url)
200201
}
201202
};

0 commit comments

Comments
 (0)