rustc_thread_pool/compile_fail/
rc_upvar.rs

1/*! ```compile_fail,E0277
2
3use std::rc::Rc;
4
5let r = Rc::new(22);
6rustc_thread_pool::join(|| r.clone(), || r.clone());
7//~^ ERROR
8
9``` */