You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let resolver = edition.default_resolve_behavior().to_manifest();
1024
-
self.config.shell().warn(format_args!("some crates are on edition {edition} which defaults to `resolver = \"{resolver}\"`, but virtual workspaces default to `resolver = \"1\"`"))?;
1024
+
self.config.shell().warn(format_args!(
1025
+
"virtual workspace defaulting to `resolver = \"1\"` despite one or more workspace members being on edition {edition} which implies `resolver = \"{resolver}\"`"
1026
+
))?;
1025
1027
self.config.shell().note(
1026
1028
"to keep the current resolver, specify `workspace.resolver = \"1\"` in the workspace root's manifest",
1027
1029
)?;
1028
-
self.config.shell().note(format_args!("to use the edition {edition} resolver, specify `workspace.resolver = \"{resolver}\"` in the workspace root's manifest"))?;
1030
+
self.config.shell().note(format_args!(
1031
+
"to use the edition {edition} resolver, specify `workspace.resolver = \"{resolver}\"` in the workspace root's manifest"
1032
+
))?;
1033
+
self.config.shell().note(
1034
+
"for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions",
warning: some crates are on edition 2021 which defaults to `resolver = \"2\"`, but virtual workspaces default to `resolver = \"1\"`
1434
+
warning: virtual workspace defaulting to `resolver = \"1\"` despite one or more workspace members being on edition 2021 which implies `resolver = \"2\"`
1435
1435
note: to keep the current resolver, specify `workspace.resolver = \"1\"` in the workspace root's manifest
1436
1436
note: to use the edition 2021 resolver, specify `workspace.resolver = \"2\"` in the workspace root's manifest
1437
+
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
0 commit comments