Bump nightly to 1.32.0
* Also update the bootstrap compiler * Update cargo to 1.32.0 * Clean out stage0 annotations
This commit is contained in:
parent
de9666f123
commit
d0060d72e5
20 changed files with 20 additions and 39 deletions
|
@ -209,7 +209,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
|
|||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[cfg_attr(not(stage0), rustc_promotable)]
|
||||
#[rustc_promotable]
|
||||
pub const fn null<T>() -> *const T { 0 as *const T }
|
||||
|
||||
/// Creates a null mutable raw pointer.
|
||||
|
@ -224,7 +224,7 @@ pub const fn null<T>() -> *const T { 0 as *const T }
|
|||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[cfg_attr(not(stage0), rustc_promotable)]
|
||||
#[rustc_promotable]
|
||||
pub const fn null_mut<T>() -> *mut T { 0 as *mut T }
|
||||
|
||||
/// Swaps the values at two mutable locations of the same type, without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue