diff options
| author | Alexis Beingessner <a.beingessner@gmail.com> | 2015-06-30 16:41:00 -0700 |
|---|---|---|
| committer | Alexis Beingessner <a.beingessner@gmail.com> | 2015-07-01 10:30:14 -0700 |
| commit | 7850c8d0aa14cd561fcdce816c94532a3d54ff60 (patch) | |
| tree | 447750d00a2d0868de887870d1b4d6cab2bd83c3 /src/libcollections | |
| parent | 8b25086f3dba6d2a452de009914ab5ae058a6d28 (diff) | |
| download | rust-7850c8d0aa14cd561fcdce816c94532a3d54ff60.tar.gz rust-7850c8d0aa14cd561fcdce816c94532a3d54ff60.zip | |
fallout of bitvec/bitset deprecation
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/bit.rs | 2 | ||||
| -rw-r--r-- | src/libcollections/lib.rs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/libcollections/bit.rs b/src/libcollections/bit.rs index 7e7481e4f2f..a8d638028be 100644 --- a/src/libcollections/bit.rs +++ b/src/libcollections/bit.rs @@ -9,7 +9,7 @@ // 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")] + since = "1.3.0")] #![unstable(feature = "collections", reason = "deprecated")] #![allow(deprecated)] diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index 8d0f57de4c5..42adbe10e50 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -77,7 +77,9 @@ extern crate alloc; #[cfg(test)] extern crate test; pub use binary_heap::BinaryHeap; +#[allow(deprecated)] pub use bit_vec::BitVec; +#[allow(deprecated)] pub use bit_set::BitSet; pub use btree_map::BTreeMap; pub use btree_set::BTreeSet; @@ -111,11 +113,13 @@ pub mod vec_map; #[unstable(feature = "bitvec", reason = "RFC 509")] pub mod bit_vec { + #![allow(deprecated)] pub use bit::{BitVec, Iter}; } #[unstable(feature = "bitset", reason = "RFC 509")] pub mod bit_set { + #![allow(deprecated)] pub use bit::{BitSet, Union, Intersection, Difference, SymmetricDifference}; pub use bit::SetIter as Iter; } |
