2 #![allow(unused_must_use)]
3 // pretty-expanded FIXME #23616
4 // ignore-emscripten no threads support
6 use std::sync::mpsc::{channel, Sender};
9 fn start(tx: &Sender<Sender<isize>>) {
10 let (tx2, _rx) = channel();
11 tx.send(tx2).unwrap();
15 let (tx, rx) = channel();
16 let child = thread::spawn(move|| {
19 let _tx = rx.recv().unwrap();