File tree 4 files changed +2
-4
lines changed
4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 113
113
#![ feature( or_patterns) ]
114
114
#![ feature( pattern) ]
115
115
#![ feature( ptr_internals) ]
116
- #![ feature( ptr_offset_from) ]
117
116
#![ feature( raw_ref_op) ]
118
117
#![ feature( rustc_attrs) ]
119
118
#![ feature( receiver_trait) ]
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ impl<T: ?Sized> *const T {
370
370
/// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
371
371
/// }
372
372
/// ```
373
- #[ unstable ( feature = "ptr_offset_from" , issue = "41079 " ) ]
373
+ #[ stable ( feature = "ptr_offset_from" , since = "1.46.0 " ) ]
374
374
#[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
375
375
#[ inline]
376
376
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 {
541
541
/// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
542
542
/// }
543
543
/// ```
544
- #[ unstable ( feature = "ptr_offset_from" , issue = "41079 " ) ]
544
+ #[ stable ( feature = "ptr_offset_from" , since = "1.46.0 " ) ]
545
545
#[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
546
546
#[ inline]
547
547
pub const unsafe fn offset_from ( self , origin : * const T ) -> isize
Original file line number Diff line number Diff line change 9
9
#![ feature( nll) ]
10
10
#![ feature( or_patterns) ]
11
11
#![ feature( test) ]
12
- #![ feature( ptr_offset_from) ]
13
12
#![ feature( crate_visibility_modifier) ]
14
13
#![ feature( never_type) ]
15
14
#![ feature( once_cell) ]
You can’t perform that action at this time.
0 commit comments