about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-24 13:22:55 +0100
committerGitHub <noreply@github.com>2017-02-24 13:22:55 +0100
commit01758c19b7d86b886c397d2658537aada01fd5dc (patch)
treeee194df24090d68233a2aa61a74718e7b4847e82 /src
parent3b10300e0ac29fe383e316529576f7cac86d0112 (diff)
parentec648a1ab3b2f3523f2243ebf051cb39f4053902 (diff)
downloadrust-01758c19b7d86b886c397d2658537aada01fd5dc.tar.gz
rust-01758c19b7d86b886c397d2658537aada01fd5dc.zip
Rollup merge of #39940 - sgrif:sg-indentation, r=alexcrichton
Fix indentation of error message

So I just encountered this error for the first time. It's unclear what
it means, why I encountered it, or how to fix it. But worst of all, it
has a random newline and weird indentation! This commit fixes that last
bit.

<img width="680" alt="screen shot 2017-02-18 at 4 35 36 pm" src="https://cloud.githubusercontent.com/assets/1529387/23097087/0ef5ac4a-f5f9-11e6-9132-18ce759f7092.png">
Diffstat (limited to 'src')
-rw-r--r--src/librustc/ty/inhabitedness/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/inhabitedness/mod.rs b/src/librustc/ty/inhabitedness/mod.rs
index 24ca476e5ff..77c863a0123 100644
--- a/src/librustc/ty/inhabitedness/mod.rs
+++ b/src/librustc/ty/inhabitedness/mod.rs
@@ -187,7 +187,7 @@ impl<'a, 'gcx, 'tcx> TyS<'tcx> {
                         //      which contains a Foo<((T, T), (T, T))>
                         //      which contains a Foo<(((T, T), (T, T)), ((T, T), (T, T)))>
                         //      etc.
-                        let error = format!("reached recursion limit while checking
+                        let error = format!("reached recursion limit while checking \
                                              inhabitedness of `{}`", self);
                         tcx.sess.fatal(&error);
                     }