about summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Boyer <qbsecond@gmail.com>2019-11-03 17:54:50 +0100
committerQuentin Boyer <qbsecond@gmail.com>2019-11-03 17:54:50 +0100
commitfff3c25b85f7ea02f6512edbc441ab2742ea4268 (patch)
treeb62ae129fe1bcc2a2b63aca49c7dfb3d8a61dd9d
parent0f91ed41770e65fdac39e72798036fa650269788 (diff)
downloadrust-fff3c25b85f7ea02f6512edbc441ab2742ea4268.tar.gz
rust-fff3c25b85f7ea02f6512edbc441ab2742ea4268.zip
tidy
-rw-r--r--src/tools/compiletest/src/runtest.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index b3cb2724b5b..68812bd94eb 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -1415,7 +1415,9 @@ impl<'test> TestCx<'test> {
 
     fn check_no_compiler_crash(&self, proc_res: &ProcRes, should_ice: bool) {
         match proc_res.status.code() {
-            Some(101) if !should_ice => self.fatal_proc_rec("compiler encountered internal error", proc_res),
+            Some(101) if !should_ice => {
+                self.fatal_proc_rec("compiler encountered internal error", proc_res)
+            }
             None => self.fatal_proc_rec("compiler terminated by signal", proc_res),
             _ => (),
         }