@@ -4071,8 +4071,8 @@ pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize)
40714071/// checking is turned on, so that we can specify contracts in libstd
40724072/// and let an end user opt into turning them on.
40734073#[ 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 */ ) ]
40764076#[ inline( always) ]
40774077#[ rustc_intrinsic]
40784078pub const fn contract_checks ( ) -> bool {
@@ -4087,7 +4087,7 @@ pub const fn contract_checks() -> bool {
40874087/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
40884088/// returns false.
40894089#[ cfg( not( bootstrap) ) ]
4090- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4090+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
40914091#[ lang = "contract_check_requires" ]
40924092#[ rustc_intrinsic]
40934093pub fn contract_check_requires < C : Fn ( ) -> bool > ( cond : C ) {
@@ -4102,7 +4102,7 @@ pub fn contract_check_requires<C: Fn() -> bool>(cond: C) {
41024102/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
41034103/// returns false.
41044104#[ cfg( not( bootstrap) ) ]
4105- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4105+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
41064106#[ rustc_intrinsic]
41074107pub fn contract_check_ensures < ' a , Ret , C : Fn ( & ' a Ret ) -> bool > ( ret : & ' a Ret , cond : C ) {
41084108 if contract_checks ( ) && !cond ( ret) {
0 commit comments