We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const_intrinsic_forget
1 parent bece740 commit 530f287Copy full SHA for 530f287
library/core/src/intrinsics.rs
@@ -1084,7 +1084,7 @@ extern "rust-intrinsic" {
1084
/// it does not require an `unsafe` block.
1085
/// Therefore, implementations must not require the user to uphold
1086
/// any safety invariants.
1087
- #[rustc_const_unstable(feature = "const_intrinsic_forget", issue = "none")]
+ #[rustc_const_stable(feature = "const_intrinsic_forget", since = "CURRENT_RUSTC_VERSION")]
1088
#[rustc_safe_intrinsic]
1089
#[rustc_nounwind]
1090
pub fn forget<T: ?Sized>(_: T);
library/core/src/lib.rs
@@ -126,7 +126,6 @@
126
#![feature(const_hash)]
127
#![feature(const_heap)]
128
#![feature(const_index_range_slice_index)]
129
-#![feature(const_intrinsic_forget)]
130
#![feature(const_ipv4)]
131
#![feature(const_ipv6)]
132
#![feature(const_likely)]
0 commit comments