diff --git a/tests/type_tests.rs b/tests/type_tests.rs index 4225b080..0c936130 100644 --- a/tests/type_tests.rs +++ b/tests/type_tests.rs @@ -20,6 +20,7 @@ pub fn it_impl_try_getable() {} pub fn it_impl_try_from_u64() {} +#[allow(unused_macros)] macro_rules! it_impl_traits { ( $ty: ty ) => { it_impl_into_active_value::<$ty, $ty>(); @@ -34,6 +35,7 @@ macro_rules! it_impl_traits { } #[sea_orm_macros::test] +#[cfg(feature = "sqlx-dep")] fn main() { it_impl_traits!(i8); it_impl_traits!(i16);