Stabilize const_intrinsic_copy
· rust-lang/rust@2b58e63 (original) (raw)
`@@ -1311,7 +1311,7 @@ impl<T: ?Sized> *mut T {
`
1311
1311
`` /// See [ptr::copy
] for safety concerns and examples.
``
1312
1312
`///
`
1313
1313
`` /// [ptr::copy
]: crate::ptr::copy()
``
1314
``
`-
#[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "80697")]
`
``
1314
`+
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.63.0")]
`
1315
1315
`#[stable(feature = "pointer_methods", since = "1.26.0")]
`
1316
1316
`#[inline(always)]
`
1317
1317
`pub const unsafe fn copy_to(self, dest: *mut T, count: usize)
`
`@@ -1330,7 +1330,7 @@ impl<T: ?Sized> *mut T {
`
1330
1330
`` /// See [ptr::copy_nonoverlapping
] for safety concerns and examples.
``
1331
1331
`///
`
1332
1332
`` /// [ptr::copy_nonoverlapping
]: crate::ptr::copy_nonoverlapping()
``
1333
``
`-
#[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "80697")]
`
``
1333
`+
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.63.0")]
`
1334
1334
`#[stable(feature = "pointer_methods", since = "1.26.0")]
`
1335
1335
`#[inline(always)]
`
1336
1336
`pub const unsafe fn copy_to_nonoverlapping(self, dest: *mut T, count: usize)
`
`@@ -1349,7 +1349,7 @@ impl<T: ?Sized> *mut T {
`
1349
1349
`` /// See [ptr::copy
] for safety concerns and examples.
``
1350
1350
`///
`
1351
1351
`` /// [ptr::copy
]: crate::ptr::copy()
``
1352
``
`-
#[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "80697")]
`
``
1352
`+
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.63.0")]
`
1353
1353
`#[stable(feature = "pointer_methods", since = "1.26.0")]
`
1354
1354
`#[inline(always)]
`
1355
1355
`pub const unsafe fn copy_from(self, src: *const T, count: usize)
`
`@@ -1368,7 +1368,7 @@ impl<T: ?Sized> *mut T {
`
1368
1368
`` /// See [ptr::copy_nonoverlapping
] for safety concerns and examples.
``
1369
1369
`///
`
1370
1370
`` /// [ptr::copy_nonoverlapping
]: crate::ptr::copy_nonoverlapping()
``
1371
``
`-
#[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "80697")]
`
``
1371
`+
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.63.0")]
`
1372
1372
`#[stable(feature = "pointer_methods", since = "1.26.0")]
`
1373
1373
`#[inline(always)]
`
1374
1374
`pub const unsafe fn copy_from_nonoverlapping(self, src: *const T, count: usize)
`