diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index af75faf698ecd..9bb6dbc448d8c 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -152,7 +152,7 @@ fn main() { Ok(s) if s.success() => std::process::exit(0), e => e, }; - println!("\nDid not run successfully: {:?}\n{:?}\n-------------", e, cmd); + println!("\nDid not run successfully: {}\n{:?}\n-------------", e, cmd); status_code(&mut on_fail).expect("could not run the backup command"); std::process::exit(1); }