library: Stabilize const_intrinsic_forget
· qinheping/verify-rust-std@36ff2c8 (original) (raw)
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1084,7 +1084,7 @@ extern "rust-intrinsic" { | ||
1084 | 1084 | /// it does not require an `unsafe` block. |
1085 | 1085 | /// Therefore, implementations must not require the user to uphold |
1086 | 1086 | /// any safety invariants. |
1087 | - #[rustc_const_unstable(feature = "const_intrinsic_forget", issue = "none")] | |
1087 | + #[rustc_const_stable(feature = "const_intrinsic_forget", since = "CURRENT_RUSTC_VERSION")] | |
1088 | 1088 | #[rustc_safe_intrinsic] |
1089 | 1089 | #[rustc_nounwind] |
1090 | 1090 | pub fn forget<T: ?Sized>(_: T); |