Home
last modified time | relevance | path

Searched refs:is_unpin (Results 1 – 25 of 28) sorted by relevance

12

/external/rust/crates/pin-project/tests/ui/pin_project/
Dadd-pinned-field.stderr4 4 | fn is_unpin<T: Unpin>() {}
5 | ----- required by this bound in `is_unpin`
7 21 | is_unpin::<Foo>(); //~ ERROR E0277
16 4 | fn is_unpin<T: Unpin>() {}
17 | ----- required by this bound in `is_unpin`
19 22 | is_unpin::<Bar>(); //~ ERROR E0277
Dremove-attr-from-struct.rs5 fn is_unpin<T: Unpin>() {} in is_unpin() function
34 is_unpin::<A>(); //~ ERROR E0277 in main()
35 is_unpin::<B>(); //~ ERROR E0277 in main()
36 is_unpin::<D>(); // Ok in main()
Dadd-pinned-field.rs4 fn is_unpin<T: Unpin>() {} in is_unpin() function
21 is_unpin::<Foo>(); //~ ERROR E0277 in main()
22 is_unpin::<Bar>(); //~ ERROR E0277 in main()
Dremove-attr-from-field.rs5 fn is_unpin<T: Unpin>() {} in is_unpin() function
22 is_unpin::<A>(); in main()
23 is_unpin::<B>(); in main()
Dremove-attr-from-struct.stderr24 5 | fn is_unpin<T: Unpin>() {}
25 | ----- required by this bound in `is_unpin`
27 34 | is_unpin::<A>(); //~ ERROR E0277
35 5 | fn is_unpin<T: Unpin>() {}
36 | ----- required by this bound in `is_unpin`
38 35 | is_unpin::<B>(); //~ ERROR E0277
Doverlapping_unpin_struct.stderr4 14 | fn is_unpin<T: Unpin>() {}
5 | ----- required by this bound in `is_unpin`
7 17 | is_unpin::<S<PhantomPinned>>(); //~ ERROR E0277
Doverlapping_unpin_struct.rs14 fn is_unpin<T: Unpin>() {} in is_unpin() function
17 is_unpin::<S<PhantomPinned>>(); //~ ERROR E0277 in main()
/external/rust/crates/pin-project-lite/tests/ui/
Doverlapping_unpin_struct.stderr4 15 | fn is_unpin<T: Unpin>() {}
5 | ----- required by this bound in `is_unpin`
7 18 | is_unpin::<Foo<PhantomPinned>>(); //~ ERROR E0277
Doverlapping_unpin_struct.rs15 fn is_unpin<T: Unpin>() {} in is_unpin() function
18 is_unpin::<Foo<PhantomPinned>>(); //~ ERROR E0277 in main()
/external/rust/crates/pin-project/tests/ui/unstable-features/
Dmarker_trait_attr-feature-gate.rs15 fn is_unpin<T: Unpin>() {} in is_unpin() function
18 is_unpin::<Struct<PhantomPinned>>() in main()
Doverlapping_marker_traits-feature-gate.rs15 fn is_unpin<T: Unpin>() {} in is_unpin() function
18 is_unpin::<Struct<PhantomPinned>>() in main()
Dmarker_trait_attr.rs21 fn is_unpin<T: Unpin>() {} in is_unpin() function
24 is_unpin::<Struct<PhantomPinned>>() in main()
Doverlapping_marker_traits.rs25 fn is_unpin<T: Unpin>() {} in is_unpin() function
28 is_unpin::<Struct<PhantomPinned>>() in main()
/external/rust/crates/tokio/src/sync/
Dbatch_semaphore.rs470 fn is_unpin<T: Unpin>() {} in project() function
474 is_unpin::<&Semaphore>(); in project()
475 is_unpin::<&mut bool>(); in project()
476 is_unpin::<u32>(); in project()
Dnotify.rs519 is_unpin::<&Notify>(); in project()
520 is_unpin::<AtomicUsize>(); in project()
733 fn is_unpin<T: Unpin>() {} in is_unpin() function
/external/rust/crates/tokio/src/io/util/
Drepeat.rs70 crate::is_unpin::<Repeat>(); in assert_unpin()
Dempty.rs82 crate::is_unpin::<Empty>(); in assert_unpin()
Dsink.rs85 crate::is_unpin::<Sink>(); in assert_unpin()
Dcopy_buf.rs100 crate::is_unpin::<CopyBuf<'_, PhantomPinned, PhantomPinned>>(); in assert_unpin()
Dsplit.rs119 crate::is_unpin::<Split<()>>(); in assert_unpin()
Dlines.rs141 crate::is_unpin::<Lines<()>>(); in assert_unpin()
Dtake.rs131 crate::is_unpin::<Take<()>>(); in assert_unpin()
Dchain.rs142 crate::is_unpin::<Chain<(), ()>>(); in assert_unpin()
Dbuf_stream.rs161 crate::is_unpin::<BufStream<()>>(); in assert_unpin()
/external/rust/crates/tokio/src/
Dlib.rs480 fn is_unpin<T: Unpin>() {} in is_unpin() function

12