]> git.lizzy.rs Git - rust.git/commitdiff
tidy
authorQuentin Boyer <qbsecond@gmail.com>
Sun, 3 Nov 2019 16:54:50 +0000 (17:54 +0100)
committerQuentin Boyer <qbsecond@gmail.com>
Sun, 3 Nov 2019 16:54:50 +0000 (17:54 +0100)
src/tools/compiletest/src/runtest.rs

index b3cb2724b5b1fc076037a2fe9c841bc439872b7c..68812bd94eb2413353f3e6fc7c874c1177356b8d 100644 (file)
@@ -1415,7 +1415,9 @@ fn check_error_patterns(&self, output_to_check: &str, proc_res: &ProcRes) {
 
     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),
             _ => (),
         }