about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-01-05 00:41:37 +0000
committervarkor <github@varkor.com>2018-01-29 11:05:15 +0000
commitdc274e68a7085491519cb4f3c5613c0321751c6f (patch)
treecf282a9f96ba01a1f9a67c9b7b045ac75dc0e627
parentdf1c61d303c6557434e3dc0dd8d32eb3599d8b40 (diff)
downloadrust-dc274e68a7085491519cb4f3c5613c0321751c6f.tar.gz
rust-dc274e68a7085491519cb4f3c5613c0321751c6f.zip
Fix tidy error
-rw-r--r--src/librustc_driver/driver.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index 5875ccbfd58..c6b51f69406 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -128,7 +128,8 @@ pub fn compile_input(trans: Box<TransCrate>,
                 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);
                     }