Skip to content

Commit ae04282

Browse files
committed
Make the panic info more useful
1 parent 3767e31 commit ae04282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/runtest.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2733,6 +2733,7 @@ impl<'test> TestCx<'test> {
27332733
}
27342734
}
27352735

2736+
#[track_caller]
27362737
fn fatal(&self, err: &str) -> ! {
27372738
self.error(err);
27382739
error!("fatal error, panic: {:?}", err);

0 commit comments

Comments
 (0)