1 #![allow(dead_code, unused_macros)] 2 #![allow(box_pointers, unreachable_pub)] 3 #![allow(clippy::restriction)] 4 5 macro_rules! assert_unpin { 6 ($ty:ty) => { 7 static_assertions::assert_impl_all!($ty: Unpin); 8 }; 9 } 10 macro_rules! assert_not_unpin { 11 ($ty:ty) => { 12 static_assertions::assert_not_impl_all!($ty: Unpin); 13 }; 14 } 15