File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 113113#![ feature( or_patterns) ]
114114#![ feature( pattern) ]
115115#![ feature( ptr_internals) ]
116- #![ feature( ptr_offset_from) ]
117116#![ feature( raw_ref_op) ]
118117#![ feature( rustc_attrs) ]
119118#![ feature( receiver_trait) ]
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ impl<T: ?Sized> *const T {
370370 /// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
371371 /// }
372372 /// ```
373- #[ unstable ( feature = "ptr_offset_from" , issue = "41079 " ) ]
373+ #[ stable ( feature = "ptr_offset_from" , since = "1.46.0 " ) ]
374374 #[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
375375 #[ inline]
376376 pub const unsafe fn offset_from ( self , origin : * const T ) -> isize
Original file line number Diff line number Diff line change @@ -541,7 +541,7 @@ impl<T: ?Sized> *mut T {
541541 /// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
542542 /// }
543543 /// ```
544- #[ unstable ( feature = "ptr_offset_from" , issue = "41079 " ) ]
544+ #[ stable ( feature = "ptr_offset_from" , since = "1.46.0 " ) ]
545545 #[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
546546 #[ inline]
547547 pub const unsafe fn offset_from ( self , origin : * const T ) -> isize
Original file line number Diff line number Diff line change 99#![ feature( nll) ]
1010#![ feature( or_patterns) ]
1111#![ feature( test) ]
12- #![ feature( ptr_offset_from) ]
1312#![ feature( crate_visibility_modifier) ]
1413#![ feature( never_type) ]
1514#![ feature( once_cell) ]
You can’t perform that action at this time.
0 commit comments