Skip to content

Commit 00bf4fb

Browse files
committed
Make the panic info more useful
1 parent bb89df6 commit 00bf4fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2784,6 +2784,7 @@ impl<'test> TestCx<'test> {
27842784
}
27852785
}
27862786

2787+
#[track_caller]
27872788
fn fatal(&self, err: &str) -> ! {
27882789
self.error(err);
27892790
error!("fatal error, panic: {:?}", err);

0 commit comments

Comments
 (0)