File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -812,16 +812,18 @@ fn summary_for_patch(
812
812
} ;
813
813
if found. is_empty ( ) {
814
814
anyhow:: bail!(
815
- "The patch location does not appear to contain any packages \
815
+ "The patch location `{}` does not appear to contain any packages \
816
816
matching the name `{}`.",
817
+ orig_patch. source_id( ) ,
817
818
orig_patch. package_name( )
818
819
) ;
819
820
} else {
820
821
anyhow:: bail!(
821
- "The patch location contains a `{}` package with {}, but the patch \
822
+ "The patch location `{}` contains a `{}` package with {}, but the patch \
822
823
definition requires `{}`.\n \
823
824
Check that the version in the patch location is what you expect, \
824
825
and update the patch definition to match.",
826
+ orig_patch. source_id( ) ,
825
827
orig_patch. package_name( ) ,
826
828
found,
827
829
orig_patch. version_req( )
Original file line number Diff line number Diff line change @@ -1614,7 +1614,7 @@ Caused by:
1614
1614
patch for `bar` in `https://github.com/rust-lang/crates.io-index` did not resolve to any crates
1615
1615
1616
1616
Caused by:
1617
- The patch location does not appear to contain any packages matching the name `bar`.
1617
+ The patch location `[..]/foo/bar` does not appear to contain any packages matching the name `bar`.
1618
1618
" ,
1619
1619
)
1620
1620
. run ( ) ;
@@ -1653,7 +1653,7 @@ Caused by:
1653
1653
patch for `bar` in `https://github.com/rust-lang/crates.io-index` did not resolve to any crates
1654
1654
1655
1655
Caused by:
1656
- The patch location contains a `bar` package with version `0.1.0`, \
1656
+ The patch location `[..]/foo/bar` contains a `bar` package with version `0.1.0`, \
1657
1657
but the patch definition requires `^0.1.1`.
1658
1658
Check that the version in the patch location is what you expect, \
1659
1659
and update the patch definition to match.
@@ -1763,7 +1763,7 @@ Caused by:
1763
1763
patch for `bar` in `https://github.com/rust-lang/crates.io-index` did not resolve to any crates
1764
1764
1765
1765
Caused by:
1766
- The patch location contains a `bar` package with version `0.1.0`, but the patch definition requires `^0.1.1`.
1766
+ The patch location `[..]/foo/bar` contains a `bar` package with version `0.1.0`, but the patch definition requires `^0.1.1`.
1767
1767
Check that the version in the patch location is what you expect, and update the patch definition to match.
1768
1768
" ,
1769
1769
)
You can’t perform that action at this time.
0 commit comments