@@ -4071,8 +4071,8 @@ pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize)
4071
4071
/// checking is turned on, so that we can specify contracts in libstd
4072
4072
/// and let an end user opt into turning them on.
4073
4073
#[ cfg( not( bootstrap) ) ]
4074
- #[ rustc_const_unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4075
- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4074
+ #[ rustc_const_unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4075
+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4076
4076
#[ inline( always) ]
4077
4077
#[ rustc_intrinsic]
4078
4078
pub const fn contract_checks ( ) -> bool {
@@ -4087,7 +4087,7 @@ pub const fn contract_checks() -> bool {
4087
4087
/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
4088
4088
/// returns false.
4089
4089
#[ cfg( not( bootstrap) ) ]
4090
- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4090
+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4091
4091
#[ lang = "contract_check_requires" ]
4092
4092
#[ rustc_intrinsic]
4093
4093
pub fn contract_check_requires < C : Fn ( ) -> bool > ( cond : C ) {
@@ -4102,7 +4102,7 @@ pub fn contract_check_requires<C: Fn() -> bool>(cond: C) {
4102
4102
/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
4103
4103
/// returns false.
4104
4104
#[ cfg( not( bootstrap) ) ]
4105
- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4105
+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
4106
4106
#[ rustc_intrinsic]
4107
4107
pub fn contract_check_ensures < ' a , Ret , C : Fn ( & ' a Ret ) -> bool > ( ret : & ' a Ret , cond : C ) {
4108
4108
if contract_checks ( ) && !cond ( ret) {
0 commit comments