File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ use crate::intrinsics;
44
44
/// ```
45
45
#[ inline]
46
46
#[ stable( feature = "unreachable" , since = "1.27.0" ) ]
47
- #[ rustc_const_unstable ( feature = "const_unreachable_unchecked" , issue = "53188 " ) ]
47
+ #[ rustc_const_stable ( feature = "const_unreachable_unchecked" , since = "1.57.0 " ) ]
48
48
pub const unsafe fn unreachable_unchecked ( ) -> ! {
49
49
// SAFETY: the safety contract for `intrinsics::unreachable` must
50
50
// be upheld by the caller.
Original file line number Diff line number Diff line change @@ -735,7 +735,7 @@ extern "rust-intrinsic" {
735
735
/// reach code marked with this function.
736
736
///
737
737
/// The stabilized version of this intrinsic is [`core::hint::unreachable_unchecked`].
738
- #[ rustc_const_unstable ( feature = "const_unreachable_unchecked" , issue = "53188 " ) ]
738
+ #[ rustc_const_stable ( feature = "const_unreachable_unchecked" , since = "1.57.0 " ) ]
739
739
pub fn unreachable ( ) -> !;
740
740
741
741
/// Informs the optimizer that a condition is always true.
Original file line number Diff line number Diff line change 103
103
#![ feature( const_trait_impl) ]
104
104
#![ feature( const_type_id) ]
105
105
#![ feature( const_type_name) ]
106
- #![ feature( const_unreachable_unchecked) ]
107
106
#![ feature( const_default_impls) ]
108
107
#![ feature( duration_consts_2) ]
109
108
#![ feature( ptr_metadata) ]
You can’t perform that action at this time.
0 commit comments