]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/threads-sendsync/sync-send-in-std.rs
3 // ignore-wasm32-bare networking not available
4 // ignore-sgx ToSocketAddrs cannot be used for DNS Resolution
5 // ignore-fuchsia Req. test-harness networking privileges
7 use std
::net
::ToSocketAddrs
;
9 fn is_sync
<T
>(_
: T
) where T
: Sync {}
10 fn is_send
<T
>(_
: T
) where T
: Send {}
12 macro_rules
! all_sync_send
{
13 ($ctor
:expr
, $
($iter
:ident
),+) => ({
24 all_sync_send
!("localhost:80".to_socket_addrs().unwrap(), next
);