diff --git a/core/primitives/src/lib.rs b/core/primitives/src/lib.rs index 32221064a5d..ebb5d19c538 100644 --- a/core/primitives/src/lib.rs +++ b/core/primitives/src/lib.rs @@ -61,5 +61,5 @@ pub use near_primitives_core::chains; fn failing_fuzzer() { // This fuzzer always fails. It is used as a sanity-check that our clusterfuzz instance // is working properly, as it has silently stopped working quite a few times already. - bolero::check!().for_each(|_| panic!("The expected-to-fail fuzzer actually failed")) + bolero::check!().for_each(|_| -> () { panic!("The expected-to-fail fuzzer actually failed") }) }