File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1010,6 +1010,10 @@ impl<'cfg> Workspace<'cfg> {
1010
1010
\x20 specify the desired resolver version explicitly in the workspace root's manifest\
1011
1011
",
1012
1012
) ) ?;
1013
+ self . config . shell ( ) . note (
1014
+ "to keep the current resolver, specify `workspace.resolver = \" 1\" `" ,
1015
+ ) ?;
1016
+ self . config . shell ( ) . note ( format_args ! ( "to use the edition {edition} resolver, specify `workspace.resolver = \" {resolver}\" `" ) ) ?;
1013
1017
}
1014
1018
}
1015
1019
}
Original file line number Diff line number Diff line change @@ -1434,6 +1434,8 @@ fn edition_2021_workspace_member() {
1434
1434
warning: some crates are on edition 2021 which defaults to `resolver = \" 2\" `,
1435
1435
but virtual workspaces default to `resolver = \" 1\" `
1436
1436
specify the desired resolver version explicitly in the workspace root's manifest
1437
+ note: to keep the current resolver, specify `workspace.resolver = \" 1\" `
1438
+ note: to use the edition 2021 resolver, specify `workspace.resolver = \" 2\" `
1437
1439
[CHECKING] a v0.1.0 [..]
1438
1440
[FINISHED] [..]
1439
1441
" ,
You can’t perform that action at this time.
0 commit comments