about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPweaver (Paul Weaver) <paul@mordor.org>2016-10-03 15:18:27 -0400
committerPweaver (Paul Weaver) <paul@mordor.org>2016-10-03 15:18:27 -0400
commit7cf90d0a1d133b41b06c09272b6f645c142e7ade (patch)
treecbdab23cbe56ab35680fb862878584890cdcbe86
parent5e3aaab2f67abfc9f92f9d1a59ed62ea71cdab5e (diff)
downloadrust-7cf90d0a1d133b41b06c09272b6f645c142e7ade.tar.gz
rust-7cf90d0a1d133b41b06c09272b6f645c142e7ade.zip
fixes multi-line string whitespace in librustc_incremental/persist/fs.rs
-rw-r--r--src/librustc_incremental/persist/fs.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/librustc_incremental/persist/fs.rs b/src/librustc_incremental/persist/fs.rs
index 14e4f421961..1beb906c596 100644
--- a/src/librustc_incremental/persist/fs.rs
+++ b/src/librustc_incremental/persist/fs.rs
@@ -240,10 +240,12 @@ pub fn prepare_session_directory(tcx: TyCtxt) -> Result<bool, ()> {
                    source_directory.display());
 
             if !allows_links {
-                tcx.sess.warn(&format!("Hard linking files in the incremental compilation
-                    cache failed. Copying files instead. Consider moving the cache directory to a
-                    file system which supports hard linking in session dir `{}`"
-                    , session_dir.display())
+                tcx.sess.warn(&format!("Hard linking files in the incremental \
+                                        compilation cache failed. Copying files \
+                                        instead. Consider moving the cache \
+                                        directory to a file system which supports \
+                                        hard linking in session dir `{}`",
+                                        session_dir.display())
                     );
             }