From 8b25086f3dba6d2a452de009914ab5ae058a6d28 Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Fri, 5 Jun 2015 12:43:32 -0700 Subject: [PATCH] Deprecate BitSet and BitVec in favour of bit-vec and bit-set crates in cargo --- src/libcollections/bit.rs | 5 +++++ 1 file changed, 5 insertions(+) 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