File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,7 @@ impl<'gctx> Source for RecursivePathSource<'gctx> {
323
323
for s in self
324
324
. packages
325
325
. iter ( )
326
+ . filter ( |( pkg_id, _) | pkg_id. name ( ) == dep. package_name ( ) )
326
327
. map ( |( pkg_id, pkgs) | {
327
328
first_package ( * pkg_id, pkgs, & mut self . warned_duplicate , self . gctx )
328
329
} )
Original file line number Diff line number Diff line change @@ -1284,10 +1284,6 @@ expected `.`, `]`
1284
1284
2 | [package
1285
1285
| ^
1286
1286
|
1287
- [WARNING] skipping duplicate package `duplicate v0.5.0 ([ROOTURL]/dep#[..])`:
1288
- [ROOT]/home/.cargo/git/checkouts/dep-[HASH]/[..]/duplicate2/Cargo.toml
1289
- in favor of [ROOT]/home/.cargo/git/checkouts/dep-[HASH]/[..]/duplicate1/Cargo.toml
1290
-
1291
1287
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1292
1288
[RUNNING] `target/debug/foo[EXE]`
1293
1289
You can’t perform that action at this time.
0 commit comments