diff --git a/crates/bevy_reflect/src/impls/std.rs b/crates/bevy_reflect/src/impls/std.rs index 7aae12a699..6320090e6d 100644 --- a/crates/bevy_reflect/src/impls/std.rs +++ b/crates/bevy_reflect/src/impls/std.rs @@ -107,6 +107,7 @@ impl_reflect_value!(::core::ops::RangeFrom()); impl_reflect_value!(::core::ops::RangeTo()); impl_reflect_value!(::core::ops::RangeToInclusive()); impl_reflect_value!(::core::ops::RangeFull()); +impl_reflect_value!(::std::ops::Bound()); impl_reflect_value!(::bevy_utils::Duration( Debug, Hash, diff --git a/crates/bevy_reflect/src/lib.rs b/crates/bevy_reflect/src/lib.rs index fca875b70b..941105a851 100644 --- a/crates/bevy_reflect/src/lib.rs +++ b/crates/bevy_reflect/src/lib.rs @@ -2922,26 +2922,6 @@ bevy_reflect::tests::Test { ); } - #[test] - fn should_reflect_external_crate_type() { - // This test relies on the external type not implementing `Reflect`, - // so let's just double-check that it does not - assert_not_impl_all!(std::collections::Bound: Reflect); - - #[reflect_remote(std::collections::Bound)] - enum MyBound { - Included(T), - Excluded(T), - Unbounded, - } - - #[derive(Reflect)] - struct MyType { - #[reflect(remote = MyBound)] - bound: std::collections::Bound, - } - } - #[cfg(feature = "glam")] mod glam { use super::*;