File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2913,7 +2913,7 @@ impl<T: Sized> NonNull<T> {
2913
2913
/// some other means.
2914
2914
#[ stable( feature = "nonnull" , since = "1.25.0" ) ]
2915
2915
#[ inline]
2916
- #[ cfg_attr ( not ( stage0 ) , rustc_const_unstable( feature = "const_ptr_nonnull" ) ) ]
2916
+ #[ rustc_const_unstable( feature = "const_ptr_nonnull" ) ]
2917
2917
pub const fn dangling ( ) -> Self {
2918
2918
unsafe {
2919
2919
let ptr = mem:: align_of :: < T > ( ) as * mut T ;
@@ -2977,7 +2977,7 @@ impl<T: ?Sized> NonNull<T> {
2977
2977
/// Cast to a pointer of another type
2978
2978
#[ stable( feature = "nonnull_cast" , since = "1.27.0" ) ]
2979
2979
#[ inline]
2980
- #[ cfg_attr ( not ( stage0 ) , rustc_const_unstable( feature = "const_ptr_nonnull" ) ) ]
2980
+ #[ rustc_const_unstable( feature = "const_ptr_nonnull" ) ]
2981
2981
pub const fn cast < U > ( self ) -> NonNull < U > {
2982
2982
unsafe {
2983
2983
NonNull :: new_unchecked ( self . as_ptr ( ) as * mut U )
Original file line number Diff line number Diff line change 17
17
#![ feature( rustc_attrs) ]
18
18
#![ feature( specialization) ]
19
19
#![ feature( step_trait) ]
20
- #![ cfg_attr( not( stage0) , feature( stdsimd) ) ]
21
20
22
21
use serialize:: { Encodable , Decodable , Encoder , Decoder } ;
23
22
Original file line number Diff line number Diff line change 12
12
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
13
13
# `0.x.0` for Cargo where they were released on `date`.
14
14
15
- date: 2019-02-27
15
+ date: 2019-03-20
16
16
rustc: beta
17
17
cargo: beta
18
18
You can’t perform that action at this time.
0 commit comments