3 // pretty-expanded FIXME #23616
7 fn assert_both<T: Send + Sync>() {}
8 fn assert_send<T: Send>() {}
11 assert_both::<fs::File>();
12 assert_both::<fs::Metadata>();
13 assert_both::<fs::ReadDir>();
14 assert_both::<fs::DirEntry>();
15 assert_both::<fs::OpenOptions>();
16 assert_both::<fs::Permissions>();
18 assert_both::<net::TcpStream>();
19 assert_both::<net::TcpListener>();
20 assert_both::<net::UdpSocket>();
21 assert_both::<net::SocketAddr>();
22 assert_both::<net::SocketAddrV4>();
23 assert_both::<net::SocketAddrV6>();
24 assert_both::<net::Ipv4Addr>();
25 assert_both::<net::Ipv6Addr>();