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 6bc97fc commit b50cde8Copy full SHA for b50cde8
src/cargo/core/workspace.rs
@@ -403,9 +403,9 @@ impl<'cfg> Workspace<'cfg> {
403
/* platform */ None,
404
// NOTE: Since we use ConfigRelativePath, this root isn't used as
405
// any relative paths are resolved before they'd be joined with root.
406
- self.root(),
+ &Path::new("unused-relative-path"),
407
self.unstable_features(),
408
- None,
+ /* kind */ None,
409
)
410
})
411
.collect::<CargoResult<Vec<_>>>()?,
@@ -418,8 +418,6 @@ impl<'cfg> Workspace<'cfg> {
418
.warn(format!("[patch] in cargo config: {}", message))?
419
}
420
421
- let _ = nested_paths;
422
-
423
Ok(patch)
424
425
0 commit comments