File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,8 @@ impl<'a> Cfg<'a> {
679
679
&& matches ! ( toolchain_name, ToolchainName :: Custom ( _) )
680
680
{
681
681
bail ! (
682
- "custom toolchain specified in override file '{}' is not installed" ,
682
+ "custom toolchain '{}' specified in override file '{}' is not installed" ,
683
+ toolchain_name,
683
684
toolchain_file. display( )
684
685
)
685
686
}
Original file line number Diff line number Diff line change @@ -2517,13 +2517,13 @@ async fn file_override_not_installed_custom() {
2517
2517
cx. config
2518
2518
. expect_err (
2519
2519
& [ "rustup" , "show" , "active-toolchain" ] ,
2520
- "custom toolchain specified in override file" ,
2520
+ "custom toolchain 'gumbo' specified in override file" ,
2521
2521
)
2522
2522
. await ;
2523
2523
cx. config
2524
2524
. expect_err (
2525
2525
& [ "rustc" , "--version" ] ,
2526
- "custom toolchain specified in override file" ,
2526
+ "custom toolchain 'gumbo' specified in override file" ,
2527
2527
)
2528
2528
. await ;
2529
2529
}
@@ -2538,13 +2538,13 @@ async fn file_override_not_installed_custom_toml() {
2538
2538
cx. config
2539
2539
. expect_err (
2540
2540
& [ "rustup" , "show" , "active-toolchain" ] ,
2541
- "custom toolchain specified in override file" ,
2541
+ "custom toolchain 'i-am-the-walrus' specified in override file" ,
2542
2542
)
2543
2543
. await ;
2544
2544
cx. config
2545
2545
. expect_err (
2546
2546
& [ "rustc" , "--version" ] ,
2547
- "custom toolchain specified in override file" ,
2547
+ "custom toolchain 'i-am-the-walrus' specified in override file" ,
2548
2548
)
2549
2549
. await ;
2550
2550
}
You can’t perform that action at this time.
0 commit comments