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);