Home
last modified time | relevance | path

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

/external/rust/crates/pin-project/tests/
Dproper_unpin.rs16 assert_unpin!(Inner<()>);
26 assert_unpin!(Struct<(), ()>);
27 assert_unpin!(Struct<(), PhantomPinned>);
40 assert_unpin!(Enum<(), ()>);
41 assert_unpin!(Enum<(), PhantomPinned>);
60 assert_unpin!(PinRef<'_, PhantomPinned, PhantomPinned>);
77 assert_unpin!(Foo<PhantomPinned>);
88 assert_unpin!(Bar<()>);
102 assert_unpin!(Foo<()>);
111 assert_unpin!(Bar<()>);
Dcfg.rs32 assert_unpin!(SameName); in cfg()
46 assert_unpin!(DifferentName); in cfg()
60 assert_unpin!(TupleStruct); in cfg()
83 assert_unpin!(Variant); in cfg()
120 assert_unpin!(Field); in cfg()
139 assert_unpin!(SameCfg); in cfg_attr()
155 assert_unpin!(DifferentCfg); in cfg_attr()
167 assert_unpin!(Foo<()>); in cfg_attr()
Dunsafe_unpin.rs20 assert_unpin!(Blah<(), ()>);
21 assert_unpin!(Blah<(), PhantomPinned>);
36 assert_unpin!(OverlappingLifetimeNames<'_, (), ()>);
/external/rust/crates/pin-project-lite/tests/
Dproper_unpin.rs15 assert_unpin!(Inner<()>);
26 assert_unpin!(Struct<(), ()>);
27 assert_unpin!(Struct<(), PhantomPinned>);
43 assert_unpin!(Enum<(), ()>);
44 assert_unpin!(Enum<(), PhantomPinned>);
65 assert_unpin!(PinRef<'_, PhantomPinned, PhantomPinned>);
/external/rust/cxx/tests/ui/
Dopaque_autotraits.rs10 fn assert_unpin<T: Unpin>() {} in assert_unpin() function
15 assert_unpin::<ffi::Opaque>(); in main()
Dopaque_autotraits.stderr32 10 | fn assert_unpin<T: Unpin>() {}
33 | ----- required by this bound in `assert_unpin`
35 15 | assert_unpin::<ffi::Opaque>();
/external/rust/crates/pin-project/tests/auxiliary/
Dmod.rs3 macro_rules! assert_unpin { macro
/external/rust/crates/pin-project-lite/tests/auxiliary/
Dmod.rs5 macro_rules! assert_unpin { macro
/external/rust/crates/tokio/src/io/util/
Drepeat.rs69 fn assert_unpin() { in assert_unpin() function
Dempty.rs81 fn assert_unpin() { in assert_unpin() function
Dsink.rs84 fn assert_unpin() { in assert_unpin() function
Dcopy_buf.rs98 fn assert_unpin() { in assert_unpin() function
Dsplit.rs118 fn assert_unpin() { in assert_unpin() function
Dlines.rs140 fn assert_unpin() { in assert_unpin() function
Dtake.rs130 fn assert_unpin() { in assert_unpin() function
Dchain.rs141 fn assert_unpin() { in assert_unpin() function
Dbuf_stream.rs160 fn assert_unpin() { in assert_unpin() function
Dbuf_writer.rs183 fn assert_unpin() { in assert_unpin() function
Dbuf_reader.rs179 fn assert_unpin() { in assert_unpin() function
/external/rust/crates/futures-util/src/async_await/
Dmod.rs43 pub fn assert_unpin<T: Unpin>(_: &T) {} in assert_unpin() function
/external/rust/crates/futures-macro/src/
Dselect.rs164 __futures_crate::async_await::assert_unpin(&#path); in select_inner()