]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/std-sync-right-kind-impls.rs
std: Clean out deprecated APIs
[rust.git] / src / test / run-pass / std-sync-right-kind-impls.rs
index 36314c5e14ac2d082a60094c5f04dfceb83bd4fb..7332f098b96fa770d62726a759120718dbb92554 100644 (file)
@@ -10,7 +10,8 @@
 
 // pretty-expanded FIXME #23616
 
-#![feature(std_misc, alloc, static_condvar)]
+#![feature(static_mutex, static_rwlock, static_condvar)]
+#![feature(semaphore)]
 
 use std::sync;
 
@@ -23,7 +24,6 @@ fn main() {
     assert_both::<sync::Mutex<()>>();
     assert_both::<sync::Condvar>();
     assert_both::<sync::RwLock<()>>();
-    assert_both::<sync::Semaphore>();
     assert_both::<sync::Barrier>();
     assert_both::<sync::Arc<()>>();
     assert_both::<sync::Weak<()>>();