We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const_maybe_uninit_assume_init_read
1 parent c01d8d2 commit 55bc8b6Copy full SHA for 55bc8b6
library/core/src/mem/maybe_uninit.rs
@@ -686,7 +686,10 @@ impl<T> MaybeUninit<T> {
686
/// // they both get dropped!
687
/// ```
688
#[stable(feature = "maybe_uninit_extra", since = "1.60.0")]
689
- #[rustc_const_unstable(feature = "const_maybe_uninit_assume_init_read", issue = "63567")]
+ #[rustc_const_stable(
690
+ feature = "const_maybe_uninit_assume_init_read",
691
+ since = "CURRENT_RUSTC_VERSION"
692
+ )]
693
#[inline(always)]
694
#[track_caller]
695
pub const unsafe fn assume_init_read(&self) -> T {
0 commit comments