From 877f32e344a0f4989421196f75f551cee6e269b3 Mon Sep 17 00:00:00 2001 From: Michael Dougherty Date: Sun, 3 Nov 2024 17:18:42 -0800 Subject: [PATCH] Fix tests --- proptest-derive/src/tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proptest-derive/src/tests.rs b/proptest-derive/src/tests.rs index 10d80614..ca2d7d9a 100644 --- a/proptest-derive/src/tests.rs +++ b/proptest-derive/src/tests.rs @@ -78,6 +78,7 @@ test! { #[derive(Debug)] struct MyUnitStruct; } expands to { + #[allow(non_local_definitions)] #[allow(non_upper_case_globals)] #[allow(clippy::arc_with_non_send_sync)] const _: () = { @@ -99,6 +100,7 @@ test! { #[derive(Debug)] struct MyTupleUnitStruct(); } expands to { + #[allow(non_local_definitions)] #[allow(non_upper_case_globals)] #[allow(clippy::arc_with_non_send_sync)] const _: () = { @@ -120,6 +122,7 @@ test! { #[derive(Debug)] struct MyNamedUnitStruct {} } expands to { + #[allow(non_local_definitions)] #[allow(non_upper_case_globals)] #[allow(clippy::arc_with_non_send_sync)] const _: () = {