From 37332758543182005740e8e6ef2312bbc82576b6 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Sat, 13 Feb 2021 18:05:07 -0500 Subject: Update the bootstrap compiler Note this does not change `core::derive` since it was merged after the beta bump. --- library/alloc/src/lib.rs | 1 - library/alloc/src/task.rs | 4 ---- library/alloc/tests/slice.rs | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'library/alloc') diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 99c42a4ba44..096fdf3fadb 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -118,7 +118,6 @@ #![feature(range_bounds_assert_len)] #![feature(rustc_attrs)] #![feature(receiver_trait)] -#![cfg_attr(bootstrap, feature(min_const_generics))] #![feature(min_specialization)] #![feature(set_ptr_value)] #![feature(slice_ptr_get)] diff --git a/library/alloc/src/task.rs b/library/alloc/src/task.rs index ab7611ae071..58a9ae77244 100644 --- a/library/alloc/src/task.rs +++ b/library/alloc/src/task.rs @@ -85,8 +85,6 @@ pub trait Wake { } } -#[cfg_attr(bootstrap, allow(rustc::ineffective_unstable_trait_impl))] -#[cfg_attr(not(bootstrap), allow(ineffective_unstable_trait_impl))] #[stable(feature = "wake_trait", since = "1.51.0")] impl From> for Waker { fn from(waker: Arc) -> Waker { @@ -96,8 +94,6 @@ impl From> for Waker { } } -#[cfg_attr(bootstrap, allow(rustc::ineffective_unstable_trait_impl))] -#[cfg_attr(not(bootstrap), allow(ineffective_unstable_trait_impl))] #[stable(feature = "wake_trait", since = "1.51.0")] impl From> for RawWaker { fn from(waker: Arc) -> RawWaker { diff --git a/library/alloc/tests/slice.rs b/library/alloc/tests/slice.rs index 777c10b1bf7..1fb4a51acfd 100644 --- a/library/alloc/tests/slice.rs +++ b/library/alloc/tests/slice.rs @@ -1798,7 +1798,7 @@ fn subslice_patterns() { macro_rules! c { ($inp:expr, $typ:ty, $out:expr $(,)?) => { - assert_eq!($out, identity::<$typ>($inp)); + assert_eq!($out, identity::<$typ>($inp)) }; } -- cgit 1.4.1-3-g733a5