We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4173a21 commit eed1e2fCopy full SHA for eed1e2f
src/wrapper.rs
@@ -74,7 +74,7 @@ fn nightly_works() -> bool {
74
let original_hook = panic::take_hook();
75
panic::set_hook(null_hook);
76
77
- let works = panic::catch_unwind(|| proc_macro::Span::call_site()).is_ok();
+ let works = panic::catch_unwind(proc_macro::Span::call_site).is_ok();
78
WORKS.store(works as usize + 1, Ordering::SeqCst);
79
80
let hopefully_null_hook = panic::take_hook();
0 commit comments