File tree 3 files changed +1
-4
lines changed
3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 28
28
#![ feature( core_intrinsics) ]
29
29
#![ feature( dropck_eyepatch) ]
30
30
#![ feature( generic_param_attrs) ]
31
- #![ feature( needs_drop) ]
32
31
#![ cfg_attr( test, feature( test) ) ]
33
32
34
33
#![ allow( deprecated) ]
Original file line number Diff line number Diff line change @@ -332,7 +332,6 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
332
332
/// Here's an example of how a collection might make use of needs_drop:
333
333
///
334
334
/// ```
335
- /// #![feature(needs_drop)]
336
335
/// use std::{mem, ptr};
337
336
///
338
337
/// pub struct MyCollection<T> {
@@ -359,7 +358,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
359
358
/// }
360
359
/// ```
361
360
#[ inline]
362
- #[ unstable ( feature = "needs_drop" , issue = "41890 " ) ]
361
+ #[ stable ( feature = "needs_drop" , since = "1.22.0 " ) ]
363
362
pub fn needs_drop < T > ( ) -> bool {
364
363
unsafe { intrinsics:: needs_drop :: < T > ( ) }
365
364
}
Original file line number Diff line number Diff line change 276
276
#![ feature( macro_reexport) ]
277
277
#![ feature( macro_vis_matcher) ]
278
278
#![ feature( needs_panic_runtime) ]
279
- #![ feature( needs_drop) ]
280
279
#![ feature( never_type) ]
281
280
#![ feature( num_bits_bytes) ]
282
281
#![ feature( old_wrapping) ]
You can’t perform that action at this time.
0 commit comments