Skip to content

Commit 3c65c40

Browse files
committed
Auto merge of #6510 - d-e-s-o:add-missing-noun, r=dwijnand
Fix error message when resolving dependencies The error message: > Attempting to resolve a with more then one crate with the links= seems to be missing a noun. It appears that we are resolving a dependency, so adding that.
2 parents 4dc7e36 + bd536c6 commit 3c65c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/core/resolver/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ impl Context {
6565
if let Some(link) = summary.links() {
6666
ensure!(
6767
self.links.insert(link, id).is_none(),
68-
"Attempting to resolve a with more then one crate with the links={}. \n\
69-
This will not build as is. Consider rebuilding the .lock file.",
68+
"Attempting to resolve a dependency with more then one crate with the \
69+
links={}.\nThis will not build as is. Consider rebuilding the .lock file.",
7070
&*link
7171
);
7272
}

0 commit comments

Comments
 (0)