about summary refs log tree commit diff
path: root/src/libcore/nonzero.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-10-14 08:20:03 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-10-26 13:59:18 -0700
commitca1853719719519e970337b0c93a95fab81d171b (patch)
tree56ea9b5bb52ab79aa7ab94c6964d413f7d1a90f9 /src/libcore/nonzero.rs
parentb0b80f8c2299cccd7a4f22ee3cc1a2ca823eaa31 (diff)
downloadrust-ca1853719719519e970337b0c93a95fab81d171b.tar.gz
rust-ca1853719719519e970337b0c93a95fab81d171b.zip
Bump to 1.23 and update bootstrap
This commit updates the bootstrap compiler, bumps the version to 1.23, updates
Cargo, updates books, and updates crates.io dependencies
Diffstat (limited to 'src/libcore/nonzero.rs')
-rw-r--r--src/libcore/nonzero.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/nonzero.rs b/src/libcore/nonzero.rs
index f075d825f5d..edc0104f46b 100644
--- a/src/libcore/nonzero.rs
+++ b/src/libcore/nonzero.rs
@@ -71,7 +71,7 @@ impl<T: Zeroable> NonZero<T> {
     #[unstable(feature = "nonzero",
                reason = "needs an RFC to flesh out the design",
                issue = "27730")]
-    #[cfg_attr(not(stage0), rustc_const_unstable(feature = "const_nonzero_new"))]
+    #[rustc_const_unstable(feature = "const_nonzero_new")]
     #[inline]
     pub const unsafe fn new_unchecked(inner: T) -> Self {
         NonZero(inner)