projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c1b90
)
Improving the error message for when a patched dependency does not resolve to anything
author
Sunjay Varma
<varma.sunjay@gmail.com>
Tue, 10 Oct 2017 19:51:59 +0000
(15:51 -0400)
committer
Sunjay Varma
<varma.sunjay@gmail.com>
Mon, 30 Oct 2017 17:15:16 +0000
(13:15 -0400)
src/cargo/core/registry.rs
patch
|
blob
|
history
diff --git
a/src/cargo/core/registry.rs
b/src/cargo/core/registry.rs
index 517486801d2107e4f66193c30794bcad7051b799..4ff031fdeaaa08a0c7e04c85c498a678e1af18bc 100644
(file)
--- a/
src/cargo/core/registry.rs
+++ b/
src/cargo/core/registry.rs
@@
-194,7
+194,8
@@
impl<'cfg> PackageRegistry<'cfg> {
let summary = match summaries.next() {
Some(summary) => summary,
None => {
- bail!("patch for `{}` in `{}` did not resolve to any crates",
+ bail!("patch for `{}` in `{}` did not resolve to any crates. Your patched \
+ dependency may conflict with the version in Cargo.lock.",
dep.name(), url)
}
};