Skip to content

Commit 9358f0e

Browse files
committed
Make the panic info more useful
1 parent 0f806a9 commit 9358f0e

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
@@ -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)