Searched refs:assert_unpin (Results 1 – 4 of 4) sorted by relevance
16 assert_unpin!(Inner<()>);27 assert_unpin!(Struct<(), ()>);28 assert_unpin!(Struct<(), PhantomPinned>);44 assert_unpin!(Enum<(), ()>);45 assert_unpin!(Enum<(), PhantomPinned>);66 assert_unpin!(PinRef<'_, PhantomPinned, PhantomPinned>);
44 15 | assert_unpin::<ffi::Opaque>();55 note: required by a bound in `assert_unpin`58 10 | fn assert_unpin<T: Unpin>() {}59 | ^^^^^ required by this bound in `assert_unpin`
10 fn assert_unpin<T: Unpin>() {} in assert_unpin() function15 assert_unpin::<ffi::Opaque>(); in main()
3 macro_rules! assert_unpin { macro