about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcollections/bit.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcollections/bit.rs b/src/libcollections/bit.rs
index 51914900fdd..7e7481e4f2f 100644
--- a/src/libcollections/bit.rs
+++ b/src/libcollections/bit.rs
@@ -8,6 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![deprecated(reason = "BitVec and BitSet have been migrated to cargo as bit-vec and bit-set",
+              since = "1.2.0")]
+#![unstable(feature = "collections", reason = "deprecated")]
+#![allow(deprecated)]
+
 // FIXME(Gankro): BitVec and BitSet are very tightly coupled. Ideally (for
 // maintenance), they should be in separate files/modules, with BitSet only
 // using BitVec's public API. This will be hard for performance though, because