Home
last modified time | relevance | path

Searched refs:assert_unpin (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/pin-project-lite/tests/
Dproper_unpin.rs16 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>);
/third_party/rust/crates/cxx/tests/ui/
Dopaque_autotraits.stderr44 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`
Dopaque_autotraits.rs10 fn assert_unpin<T: Unpin>() {} in assert_unpin() function
15 assert_unpin::<ffi::Opaque>(); in main()
/third_party/rust/crates/pin-project-lite/tests/auxiliary/
Dmod.rs3 macro_rules! assert_unpin { macro