about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2017-11-01 21:56:17 +0000
committerwhitequark <whitequark@whitequark.org>2017-11-01 22:21:29 +0000
commit1cc88be2ebc67e1f0e7ff57c12dec45ef9abc2ae (patch)
tree6521037d688b634702bf670a4c9b4f943e432f5a /src/liballoc
parent843181172892af2fdb7755e77c39227aba252c83 (diff)
downloadrust-1cc88be2ebc67e1f0e7ff57c12dec45ef9abc2ae.tar.gz
rust-1cc88be2ebc67e1f0e7ff57c12dec45ef9abc2ae.zip
De-stabilize core::slice::{from_ref, from_ref_mut}.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs1
-rw-r--r--src/liballoc/slice.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0cbfc9e9dac..f654a6b5ba4 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -93,6 +93,7 @@
 #![feature(dropck_eyepatch)]
 #![feature(exact_size_is_empty)]
 #![feature(fmt_internals)]
+#![feature(from_ref)]
 #![feature(fundamental)]
 #![feature(fused)]
 #![feature(generic_param_attrs)]
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs
index 56450d4e08c..0c5fec2cf74 100644
--- a/src/liballoc/slice.rs
+++ b/src/liballoc/slice.rs
@@ -119,7 +119,7 @@ pub use core::slice::{SplitN, RSplitN, SplitNMut, RSplitNMut};
 pub use core::slice::{RSplit, RSplitMut};
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::slice::{from_raw_parts, from_raw_parts_mut};
-#[stable(feature = "from_ref", since = "1.22.0")]
+#[unstable(feature = "from_ref", issue = "45703")]
 pub use core::slice::{from_ref, from_ref_mut};
 #[unstable(feature = "slice_get_slice", issue = "35729")]
 pub use core::slice::SliceIndex;