about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-12 21:47:38 +0800
committerkennytm <kennytm@gmail.com>2018-04-16 18:29:40 +0800
commit5fe8c59f1219705ea54f842f9868ad0017643a33 (patch)
tree7064fbd65a6788fc62b571646e227fee40580b43 /src/libstd
parent3e70dfd65542a09db3a5ae31e6334a0f7cc20035 (diff)
downloadrust-5fe8c59f1219705ea54f842f9868ad0017643a33.tar.gz
rust-5fe8c59f1219705ea54f842f9868ad0017643a33.zip
Stabilize core::hint::unreachable_unchecked.
Closes #43751.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index a34fcb5a7f9..d92a4526549 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -457,6 +457,8 @@ pub use alloc_crate::vec;
 pub use core::char;
 #[stable(feature = "i128", since = "1.26.0")]
 pub use core::u128;
+#[stable(feature = "core_hint", since = "1.27.0")]
+pub use core::hint;
 
 pub mod f32;
 pub mod f64;