Home
last modified time | relevance | path

Searched refs:AmbiguousIfSync (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/tokio-stream/tests/
Dasync_send_sync.rs22 trait AmbiguousIfSync<A> { interface
25 impl<T: ?Sized> AmbiguousIfSync<()> for T {}
26 impl<T: ?Sized + Sync> AmbiguousIfSync<Invalid> for T {}
57 AmbiguousIfSync::some_item(&f);
75 AmbiguousIfSync::some_item(&f);
/external/rust/crates/tokio/tests/
Dasync_send_sync.rs44 trait AmbiguousIfSync<A> { interface
47 impl<T: ?Sized> AmbiguousIfSync<()> for T {}
48 impl<T: ?Sized + Sync> AmbiguousIfSync<Invalid> for T {}
87 AmbiguousIfSync::some_item(&f);
96 AmbiguousIfSync::some_item(&f);
124 AmbiguousIfSync::some_item(&f);
142 AmbiguousIfSync::some_item(&f);