summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project/tests/auxiliary/mod.rs
blob: 145709916011bab3b866586d70512892dcc5ed3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![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);
    };
}