Skip to content

Commit

Permalink
Fix error message when resolving dependencies
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
d-e-s-o committed Jan 2, 2019
1 parent 497f426 commit bd536c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo/core/resolver/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ impl Context {
if let Some(link) = summary.links() {
ensure!(
self.links.insert(link, id).is_none(),
"Attempting to resolve a with more then one crate with the links={}. \n\
This will not build as is. Consider rebuilding the .lock file.",
"Attempting to resolve a dependency with more then one crate with the \
links={}.\nThis will not build as is. Consider rebuilding the .lock file.",
&*link
);
}
Expand Down

0 comments on commit bd536c6

Please sign in to comment.