This commit is contained in:
Billy Chan 2022-09-15 16:44:31 +08:00
parent 7c591049be
commit 1035bbb431
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -20,6 +20,7 @@ pub fn it_impl_try_getable<T: TryGetable>() {}
pub fn it_impl_try_from_u64<T: TryFromU64>() {}
#[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);