We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a031b03 commit 260a355Copy full SHA for 260a355
src/cargo/core/package.rs
@@ -494,7 +494,7 @@ impl<'cfg> PackageSet<'cfg> {
494
requested_kinds: &[CompileKind],
495
target_data: &RustcTargetData,
496
force_all_targets: ForceAllTargets,
497
- ) -> CargoResult<Vec<&Package>> {
+ ) -> CargoResult<()> {
498
fn collect_used_deps(
499
used: &mut BTreeSet<PackageId>,
500
resolve: &Resolve,
@@ -558,7 +558,8 @@ impl<'cfg> PackageSet<'cfg> {
558
force_all_targets,
559
)?;
560
}
561
- self.get_many(to_download.into_iter())
+ self.get_many(to_download.into_iter())?;
562
+ Ok(())
563
564
565
pub fn sources(&self) -> Ref<'_, SourceMap<'cfg>> {
0 commit comments