From 1aa032f5065d511073dfd9a25c78c91f275d40e4 Mon Sep 17 00:00:00 2001 From: Albin Hedman Date: Mon, 14 Jun 2021 19:39:02 +0200 Subject: [PATCH] Add reference to issue for const_intrinsic_copy in ptr::write --- library/core/src/ptr/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs index af28c8be6dd..e7375ddc84c 100644 --- a/library/core/src/ptr/mod.rs +++ b/library/core/src/ptr/mod.rs @@ -876,7 +876,7 @@ pub const fn slice_from_raw_parts_mut(data: *mut T, len: usize) -> *mut [T] { // We are calling the intrinsics directly to avoid function calls in the generated code // as `intrinsics::copy_nonoverlapping` is a wrapper function. extern "rust-intrinsic" { - #[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "none")] + #[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "80697")] fn copy_nonoverlapping(src: *const T, dst: *mut T, count: usize); } -- 2.44.0