13 lines
269 B
Rust
13 lines
269 B
Rust
|
#![allow(dead_code, unused_macros)]
|
||
|
|
||
|
macro_rules! assert_unpin {
|
||
|
($ty:ty) => {
|
||
|
static_assertions::assert_impl_all!($ty: Unpin);
|
||
|
};
|
||
|
}
|
||
|
macro_rules! assert_not_unpin {
|
||
|
($ty:ty) => {
|
||
|
static_assertions::assert_not_impl_all!($ty: Unpin);
|
||
|
};
|
||
|
}
|