The Rust Programming Language Forum
Test, should_panic: somehow hide stack traces?
steffahn
April 1, 2021, 1:48pm
6
might as well do
std::panic::set_hook(Box::new(|_| {}))
then
3 Likes
Re: Test, should_panic: somehow hide stack traces?
show post in topic
Related Topics
Topic
Replies
Views
Activity
Re: Test, should_panic: somehow hide stack traces?
help
2
392
January 28, 2023
Hiding stacktrace from should_panic tests
15
1171
August 20, 2022
[Solved] Stacktrace info from `panic::set_hook`
help
5
638
January 12, 2023
Custom panic handler recognized as a macro
help
4
536
November 4, 2021
Setting a panic hook in tests
help
5
1069
June 7, 2022