From abb0de64103727fbf2223416bc1a4e79a3fc01fc Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sat, 19 Oct 2024 22:33:07 +0100 Subject: [PATCH] Mute non-local definition warnings in bevy_reflect --- crates/bevy_reflect/src/impls/std.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_reflect/src/impls/std.rs b/crates/bevy_reflect/src/impls/std.rs index 60704d602accbd..941a6be75b018a 100644 --- a/crates/bevy_reflect/src/impls/std.rs +++ b/crates/bevy_reflect/src/impls/std.rs @@ -219,9 +219,9 @@ impl_reflect_opaque!(::alloc::collections::BinaryHeap); macro_rules! impl_reflect_for_atomic { ($ty:ty, $ordering:expr) => { - const _: () = { - impl_type_path!($ty); + impl_type_path!($ty); + const _: () = { #[cfg(feature = "functions")] crate::func::macros::impl_function_traits!($ty);