about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-05 01:19:15 +0000
committerbors <bors@rust-lang.org>2015-03-05 01:19:15 +0000
commitcc722a4dd3e8110a8bf7e62eea977e99e3a3d128 (patch)
treeb0872e63b8d75543ce5141ceba44c12c459474f2 /src/liballoc
parent3b3bb0e682c2d252e9f62dd9df5cff9552af91ad (diff)
parent95d904625b4d45af80b4e40d51a3a0fde1abaa8a (diff)
downloadrust-cc722a4dd3e8110a8bf7e62eea977e99e3a3d128.tar.gz
rust-cc722a4dd3e8110a8bf7e62eea977e99e3a3d128.zip
Auto merge of #22873 - alexcrichton:deprecate-fs, r=aturon
This commit deprecates the majority of std::old_io::fs in favor of std::fs and
its new functionality. Some functions remain non-deprecated but are now behind a
feature gate called `old_fs`. These functions will be deprecated once
suitable replacements have been implemented.

The compiler has been migrated to new `std::fs` and `std::path` APIs where
appropriate as part of this change.

[breaking-change]
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 7c65a99d4b0..b1fdf139b0c 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -73,6 +73,7 @@
 #![feature(unboxed_closures)]
 #![feature(unsafe_no_drop_flag)]
 #![feature(core)]
+#![feature(unique)]
 #![cfg_attr(test, feature(test, alloc, rustc_private))]
 #![cfg_attr(all(not(feature = "external_funcs"), not(feature = "external_crate")),
             feature(libc))]