diff --git a/tests/test_ensure.rs b/tests/test_ensure.rs index 100b378..5fe5278 100644 --- a/tests/test_ensure.rs +++ b/tests/test_ensure.rs @@ -614,6 +614,7 @@ fn test_as() { extern "C" fn extern_fn() {} #[rustfmt::skip] + #[allow(missing_abi)] let test = || Ok(ensure!(extern_fn as extern fn() as usize * 0 != 0)); assert_err( test,