@@ -1542,11 +1542,11 @@ impl GlobalContext {
1542
1542
if let Ok ( possible_with_extension_handle) =
1543
1543
same_file:: Handle :: from_path ( & possible_with_extension)
1544
1544
{
1545
- // We don't want to print a warning if the version
1546
- // without the extension is just a symlink to the version
1547
- // WITH an extension, which people may want to do to
1548
- // support multiple Cargo versions at once and not
1549
- // get a warning.
1545
+ // We don't want to print a warning if the version
1546
+ // without the extension is just a symlink to the version
1547
+ // WITH an extension, which people may want to do to
1548
+ // support multiple Cargo versions at once and not
1549
+ // get a warning.
1550
1550
if possible_handle != possible_with_extension_handle {
1551
1551
self . shell ( ) . warn ( format ! (
1552
1552
"both `{}` and `{}` exist. Using `{}`" ,
@@ -1556,13 +1556,13 @@ impl GlobalContext {
1556
1556
) ) ?;
1557
1557
}
1558
1558
} else {
1559
- self . shell ( ) . warn ( format ! (
1560
- "`{}` is deprecated in favor of `{filename_without_extension}.toml`" ,
1561
- possible. display( ) ,
1562
- ) ) ?;
1563
- self . shell ( ) . note (
1564
- format ! ( "if you need to support cargo 1.38 or earlier, you can symlink `{filename_without_extension}` to `{filename_without_extension}.toml`" ) ,
1565
- ) ?;
1559
+ self . shell ( ) . warn ( format ! (
1560
+ "`{}` is deprecated in favor of `{filename_without_extension}.toml`" ,
1561
+ possible. display( ) ,
1562
+ ) ) ?;
1563
+ self . shell ( ) . note (
1564
+ format ! ( "if you need to support cargo 1.38 or earlier, you can symlink `{filename_without_extension}` to `{filename_without_extension}.toml`" ) ,
1565
+ ) ?;
1566
1566
}
1567
1567
}
1568
1568
0 commit comments