File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -339,13 +339,19 @@ impl<'a> Toolchain<'a> {
339
339
if let "cargo" | "cargo.exe" = binary {
340
340
if let Some ( cmd) = self . maybe_do_cargo_fallback ( ) ? {
341
341
info ! ( "`cargo` is unavailable for the active toolchain" ) ;
342
- info ! ( "falling back to {:?}" , cmd. get_program( ) ) ;
342
+ info ! (
343
+ r#"falling back to "{}""# ,
344
+ Path :: new( cmd. get_program( ) ) . display( )
345
+ ) ;
343
346
return Ok ( cmd) ;
344
347
}
345
348
} else if let "rust-analyzer" | "rust-analyzer.exe" = binary {
346
349
if let Some ( cmd) = self . maybe_do_rust_analyzer_fallback ( binary) ? {
347
350
info ! ( "`rust-analyzer` is unavailable for the active toolchain" ) ;
348
- info ! ( "falling back to {:?}" , cmd. get_program( ) ) ;
351
+ info ! (
352
+ r#"falling back to "{}""# ,
353
+ Path :: new( cmd. get_program( ) ) . display( )
354
+ ) ;
349
355
return Ok ( cmd) ;
350
356
}
351
357
}
You can’t perform that action at this time.
0 commit comments