]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass/issue-12699.rs
Imported Upstream version 1.0.0~beta.3
[rustc.git] / src / test / run-pass / issue-12699.rs
index ac5a9b728b992270655cacd6ada89a195318b721..1e9f30bb766b206f5a99d3ffcead2f5378ed0615 100644 (file)
@@ -8,13 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// pretty-expanded FIXME #23616
-
-#![feature(old_io, std_misc)]
-
-use std::old_io::timer;
-use std::time::Duration;
+use std::thread;
 
 fn main() {
-    timer::sleep(Duration::milliseconds(250));
+    thread::sleep_ms(250);
 }