]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/no_send-enum.rs
1 #![feature(negative_impls)]
6 impl !Send
for NoSend {}
12 fn bar
<T
: Send
>(_
: T
) {}
15 let x
= Foo
::A(NoSend
);
17 //~^ ERROR `NoSend` cannot be sent between threads safely