@@ -4051,8 +4051,8 @@ pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize)
4051
4051
/// checking is turned on, so that we can specify contracts in libstd
4052
4052
/// and let an end user opt into turning them on.
4053
4053
#[ cfg( not( bootstrap) ) ]
4054
- #[ rustc_const_unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4055
- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4054
+ #[ rustc_const_unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4055
+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4056
4056
#[ inline( always) ]
4057
4057
#[ rustc_intrinsic]
4058
4058
pub const fn contract_checks ( ) -> bool {
@@ -4067,7 +4067,7 @@ pub const fn contract_checks() -> bool {
4067
4067
/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
4068
4068
/// returns false.
4069
4069
#[ cfg( not( bootstrap) ) ]
4070
- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4070
+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4071
4071
#[ lang = "contract_check_requires" ]
4072
4072
#[ rustc_intrinsic]
4073
4073
pub fn contract_check_requires < C : Fn ( ) -> bool > ( cond : C ) {
@@ -4082,7 +4082,7 @@ pub fn contract_check_requires<C: Fn() -> bool>(cond: C) {
4082
4082
/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
4083
4083
/// returns false.
4084
4084
#[ cfg( not( bootstrap) ) ]
4085
- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4085
+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4086
4086
#[ rustc_intrinsic]
4087
4087
pub fn contract_check_ensures < ' a , Ret , C : Fn ( & ' a Ret ) -> bool > ( ret : & ' a Ret , cond : C ) {
4088
4088
if contract_checks ( ) && !cond ( ret) {
0 commit comments