about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-09-08 23:04:16 +0200
committerRalf Jung <post@ralfj.de>2024-09-08 23:04:16 +0200
commit7ec01e453c8edead75822574433b6e6fe6ad7ca0 (patch)
tree402c69dff65072aa188058a4839b4073fd79d1d3
parent7b18b3eb6d45efe45ecbe0b6043a1a93cef4a166 (diff)
move Option::unwrap_unchecked into const_option feature gate
-rw-r--r--library/core/src/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs
index 212e4f02154..3634c61e0ba 100644
--- a/library/core/src/option.rs
+++ b/library/core/src/option.rs
@@ -1065,7 +1065,7 @@ impl<T> Option<T> {
     #[inline]
     #[track_caller]
     #[stable(feature = "option_result_unwrap_unchecked", since = "1.58.0")]
-    #[rustc_const_unstable(feature = "const_option_ext", issue = "91930")]
+    #[rustc_const_unstable(feature = "const_option", issue = "67441")]
     pub const unsafe fn unwrap_unchecked(self) -> T {
         match self {
             Some(val) => val,