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 5d2fa44 commit 573fe52Copy full SHA for 573fe52
src/cargo/util/toml/mod.rs
@@ -1298,6 +1298,16 @@ fn to_virtual_manifest(
1298
let workspace_config = match original_toml.workspace {
1299
Some(ref toml_config) => {
1300
verify_lints(toml_config.lints.as_ref(), gctx, &mut warnings)?;
1301
+ if let Some(ws_deps) = &toml_config.dependencies {
1302
+ for (name, dep) in ws_deps {
1303
+ unused_dep_keys(
1304
+ name,
1305
+ "workspace.dependencies",
1306
+ dep.unused_keys(),
1307
+ &mut warnings,
1308
+ );
1309
+ }
1310
1311
let ws_root_config = to_workspace_config(toml_config, root);
1312
gctx.ws_roots
1313
.borrow_mut()
0 commit comments