1
Fork 0

Auto merge of #59434 - Centril:bootstrap-to-2019-03-20, r=Mark-Simulacrum

Bump bootstrap compiler to 2019-03-20

Includes https://github.com/rust-lang/rust/pull/59295 and by extension https://github.com/rust-lang/rust/pull/59047, which unblocks https://github.com/rust-lang/rust/pull/58253, https://github.com/rust-lang/rust/pull/58837, and possibly https://github.com/rust-lang/rust/pull/59336, and so therefore:

@bors p=50

r? @Mark-Simulacrum

cc @pietroalbini
This commit is contained in:
bors 2019-03-26 13:58:30 +00:00
commit 07d350897c
3 changed files with 3 additions and 4 deletions

View file

@ -2913,7 +2913,7 @@ impl<T: Sized> NonNull<T> {
/// some other means. /// some other means.
#[stable(feature = "nonnull", since = "1.25.0")] #[stable(feature = "nonnull", since = "1.25.0")]
#[inline] #[inline]
#[cfg_attr(not(stage0), rustc_const_unstable(feature = "const_ptr_nonnull"))] #[rustc_const_unstable(feature = "const_ptr_nonnull")]
pub const fn dangling() -> Self { pub const fn dangling() -> Self {
unsafe { unsafe {
let ptr = mem::align_of::<T>() as *mut T; let ptr = mem::align_of::<T>() as *mut T;
@ -2977,7 +2977,7 @@ impl<T: ?Sized> NonNull<T> {
/// Cast to a pointer of another type /// Cast to a pointer of another type
#[stable(feature = "nonnull_cast", since = "1.27.0")] #[stable(feature = "nonnull_cast", since = "1.27.0")]
#[inline] #[inline]
#[cfg_attr(not(stage0), rustc_const_unstable(feature = "const_ptr_nonnull"))] #[rustc_const_unstable(feature = "const_ptr_nonnull")]
pub const fn cast<U>(self) -> NonNull<U> { pub const fn cast<U>(self) -> NonNull<U> {
unsafe { unsafe {
NonNull::new_unchecked(self.as_ptr() as *mut U) NonNull::new_unchecked(self.as_ptr() as *mut U)

View file

@ -17,7 +17,6 @@
#![feature(rustc_attrs)] #![feature(rustc_attrs)]
#![feature(specialization)] #![feature(specialization)]
#![feature(step_trait)] #![feature(step_trait)]
#![cfg_attr(not(stage0), feature(stdsimd))]
use serialize::{Encodable, Decodable, Encoder, Decoder}; use serialize::{Encodable, Decodable, Encoder, Decoder};

View file

@ -12,7 +12,7 @@
# source tarball for a stable release you'll likely see `1.x.0` for rustc and # source tarball for a stable release you'll likely see `1.x.0` for rustc and
# `0.x.0` for Cargo where they were released on `date`. # `0.x.0` for Cargo where they were released on `date`.
date: 2019-02-27 date: 2019-03-20
rustc: beta rustc: beta
cargo: beta cargo: beta