1 // FIXME: missing sysroot spans (#53081)
2 // ignore-i586-unknown-linux-gnu
3 // ignore-i586-unknown-linux-musl
4 // ignore-i686-unknown-linux-musl
21 fn foo(x: Port<()>) -> Foo {
27 let x = foo(Port(Rc::new(())));
29 thread::spawn(move|| {
30 //~^ ERROR `std::rc::Rc<()>` cannot be sent between threads safely