]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/no-send-res-ports.rs
1 // ignore-x86 FIXME: missing sysroot spans (#53081)
18 fn foo(x
: Port
<()>) -> Foo
{
24 let x
= foo(Port(Rc
::new(())));
26 thread
::spawn(move|| {
27 //~^ ERROR `std::rc::Rc<()>` cannot be sent between threads safely