2 // pretty-expanded FIXME #23616
6 fn assert_both<T: Sync + Send>() {}
9 assert_both::<sync::Mutex<()>>();
10 assert_both::<sync::Condvar>();
11 assert_both::<sync::RwLock<()>>();
12 assert_both::<sync::Barrier>();
13 assert_both::<sync::Arc<()>>();
14 assert_both::<sync::Weak<()>>();
15 assert_both::<sync::Once>();