]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass/vec-macro-no-std.rs
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / test / run-pass / vec-macro-no-std.rs
index ddac0ecc13c9a073cea1b986ac8a10482d7165fc..a51ef732264691a69d0761dcc9cdac7c60aeee43 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(lang_items, start, no_std, core_slice_ext, libc, collections)]
+#![feature(lang_items, start, libc, collections)]
 #![no_std]
 
 extern crate std as other;
@@ -18,8 +18,6 @@ extern crate libc;
 #[macro_use]
 extern crate collections;
 
-use core::option::Option::Some;
-use core::slice::SliceExt;
 use collections::vec::Vec;
 
 // Issue #16806