File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -612,7 +612,9 @@ where
612
612
fn multi_err ( kind : & str , mut pkgs : Vec < & Package > ) -> String {
613
613
pkgs. sort_unstable_by_key ( |a| a. name ( ) ) ;
614
614
format ! (
615
- "multiple packages with {} found: {}" ,
615
+ "multiple packages with {} found: {}. When installing a git repository, \
616
+ cargo will always search the entire repo for any Cargo.toml. \
617
+ Please specify which to install.",
616
618
kind,
617
619
pkgs. iter( )
618
620
. map( |p| p. name( ) . as_str( ) )
Original file line number Diff line number Diff line change @@ -414,7 +414,9 @@ fn multiple_crates_error() {
414
414
. with_stderr (
415
415
"\
416
416
[UPDATING] git repository [..]
417
- [ERROR] multiple packages with binaries found: bar, foo
417
+ [ERROR] multiple packages with binaries found: bar, foo. \
418
+ When installing a git repository, cargo will always search the entire repo for any Cargo.toml. \
419
+ Please specify which to install.
418
420
" ,
419
421
)
420
422
. run ( ) ;
You can’t perform that action at this time.
0 commit comments