From d0060d72e5b0f6ff2537808ff090b7fb96c3d10a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 31 Oct 2018 11:53:17 -0700 Subject: Bump nightly to 1.32.0 * Also update the bootstrap compiler * Update cargo to 1.32.0 * Clean out stage0 annotations --- src/liballoc/lib.rs | 1 - src/liballoc/rc.rs | 2 +- src/liballoc/sync.rs | 2 +- src/liballoc/tests/lib.rs | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 84ca7c4fec9..7db6261a01c 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -86,7 +86,6 @@ #![feature(box_syntax)] #![feature(cfg_target_has_atomic)] #![feature(coerce_unsized)] -#![cfg_attr(stage0, feature(min_const_fn))] #![feature(core_intrinsics)] #![feature(custom_attribute)] #![feature(dropck_eyepatch)] diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 40bb2faa362..3e8dfd105de 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -282,7 +282,7 @@ struct RcBox { /// type `T`. /// /// [get_mut]: #method.get_mut -#[cfg_attr(all(not(stage0), not(test)), lang = "rc")] +#[cfg_attr(not(test), lang = "rc")] #[stable(feature = "rust1", since = "1.0.0")] pub struct Rc { ptr: NonNull>, diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 35935861fb1..bcf5212f1ff 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -199,7 +199,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize; /// counting in general. /// /// [rc_examples]: ../../std/rc/index.html#examples -#[cfg_attr(all(not(stage0), not(test)), lang = "arc")] +#[cfg_attr(not(test), lang = "arc")] #[stable(feature = "rust1", since = "1.0.0")] pub struct Arc { ptr: NonNull>, diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs index 6d1cfb10859..3294837cb91 100644 --- a/src/liballoc/tests/lib.rs +++ b/src/liballoc/tests/lib.rs @@ -11,7 +11,6 @@ #![feature(allocator_api)] #![feature(alloc_system)] #![feature(box_syntax)] -#![cfg_attr(stage0, feature(min_const_fn))] #![feature(drain_filter)] #![feature(exact_size_is_empty)] #![feature(pattern)] -- cgit 1.4.1-3-g733a5