Auto merge of #59990 - bjorn3:nicer_compiletest_errors, r=alexcrichton
Use resume_unwind instead of panic!() for nicer compiletest errors cc https://github.com/rust-lang/rust/pull/58783#issuecomment-477287606
This commit is contained in:
commit
7cb933a616
1 changed files with 3 additions and 1 deletions
|
|
@ -3466,7 +3466,9 @@ impl ProcRes {
|
|||
\n",
|
||||
self.status, self.cmdline, self.stdout, self.stderr
|
||||
);
|
||||
panic!();
|
||||
// Use resume_unwind instead of panic!() to prevent a panic message + backtrace from
|
||||
// compiletest, which is unnecessary noise.
|
||||
std::panic::resume_unwind(Box::new(()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue