diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 5875ccbfd585..c6b51f69406d 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -128,7 +128,8 @@ pub fn compile_input(trans: Box, if sess.opts.will_create_output_file() { if outputs.contains_path(input_path) { sess.err(&format!( - "the input file \"{}\" would be overwritten by the generated executable", + "the input file \"{}\" would be overwritten by the generated \ + executable", input_path.display())); return Err(CompileIncomplete::Stopped); }