File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 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> {
29132913 /// some other means.
29142914 #[ stable( feature = "nonnull" , since = "1.25.0" ) ]
29152915 #[ inline]
2916- #[ cfg_attr ( not ( stage0 ) , rustc_const_unstable( feature = "const_ptr_nonnull" ) ) ]
2916+ #[ rustc_const_unstable( feature = "const_ptr_nonnull" ) ]
29172917 pub const fn dangling ( ) -> Self {
29182918 unsafe {
29192919 let ptr = mem:: align_of :: < T > ( ) as * mut T ;
@@ -2977,7 +2977,7 @@ impl<T: ?Sized> NonNull<T> {
29772977 /// Cast to a pointer of another type
29782978 #[ stable( feature = "nonnull_cast" , since = "1.27.0" ) ]
29792979 #[ inline]
2980- #[ cfg_attr ( not ( stage0 ) , rustc_const_unstable( feature = "const_ptr_nonnull" ) ) ]
2980+ #[ rustc_const_unstable( feature = "const_ptr_nonnull" ) ]
29812981 pub const fn cast < U > ( self ) -> NonNull < U > {
29822982 unsafe {
29832983 NonNull :: new_unchecked ( self . as_ptr ( ) as * mut U )
Original file line number Diff line number Diff line change 1717#![ feature( rustc_attrs) ]
1818#![ feature( specialization) ]
1919#![ feature( step_trait) ]
20- #![ cfg_attr( not( stage0) , feature( stdsimd) ) ]
2120
2221use serialize:: { Encodable , Decodable , Encoder , Decoder } ;
2322
Original file line number Diff line number Diff line change 1212# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313# `0.x.0` for Cargo where they were released on `date`.
1414
15- date: 2019-02-27
15+ date: 2019-03-20
1616rustc: beta
1717cargo: beta
1818
You can’t perform that action at this time.
0 commit comments