diff options
| author | bstrie <865233+bstrie@users.noreply.github.com> | 2021-03-18 13:57:31 -0400 | 
|---|---|---|
| committer | bstrie <865233+bstrie@users.noreply.github.com> | 2021-03-18 13:57:31 -0400 | 
| commit | 1e322e33fe4469ff18e3d9fddc218b82bbede82e (patch) | |
| tree | 76244f0f44d406b7ea6d127a5947c019aaaadb96 | |
| parent | 0464f638af99a7c0876e9b8f96db5bbf917e3fe2 (diff) | |
| download | rust-1e322e33fe4469ff18e3d9fddc218b82bbede82e.tar.gz rust-1e322e33fe4469ff18e3d9fddc218b82bbede82e.zip | |
Revert the second deprecation of collections::Bound
| -rw-r--r-- | library/std/src/collections/mod.rs | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/library/std/src/collections/mod.rs b/library/std/src/collections/mod.rs index 7f8f9c991fe..8cda601edd1 100644 --- a/library/std/src/collections/mod.rs +++ b/library/std/src/collections/mod.rs @@ -401,9 +401,10 @@ #![stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")] -#[rustc_deprecated(reason = "moved to `std::ops::Bound`", since = "1.52.0")] +// FIXME(#82080) The deprecation here is only theoretical, and does not actually produce a warning. +#[rustc_deprecated(reason = "moved to `std::ops::Bound`", since = "1.26.0")] #[doc(hidden)] -pub type Bound<T> = crate::ops::Bound<T>; +pub use crate::ops::Bound; #[stable(feature = "rust1", since = "1.0.0")] pub use alloc_crate::collections::{binary_heap, btree_map, btree_set}; | 
