]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-make/llvm-phase/test.rs
report the total number of errors on compilation failure
[rust.git] / src / test / run-make / llvm-phase / test.rs
index ca58e007852bd53fe0216330256284544bbe33da..a75dc7e57a9a265526af8b83134ee1b4dc0581e0 100644 (file)
@@ -85,6 +85,6 @@ fn main() {
     let (result, _) = rustc_driver::run_compiler(
         &args, &mut JitCalls, Some(box JitLoader), None);
     if let Err(n) = result {
-        panic!("Error {}", n);
+        panic!("Error {:?}", n);
     }
 }