Module rc_upvar

Source
Expand description

use std::rc::Rc;

let r = Rc::new(22);
rustc_thread_pool::join(|| r.clone(), || r.clone());
//~^ ERROR