@@ -4051,8 +4051,8 @@ pub const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize)
40514051/// checking is turned on, so that we can specify contracts in libstd
40524052/// and let an end user opt into turning them on.
40534053#[ 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 */ ) ]
40564056#[ inline( always) ]
40574057#[ rustc_intrinsic]
40584058pub const fn contract_checks ( ) -> bool {
@@ -4067,7 +4067,7 @@ pub const fn contract_checks() -> bool {
40674067/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
40684068/// returns false.
40694069#[ cfg( not( bootstrap) ) ]
4070- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4070+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
40714071#[ lang = "contract_check_requires" ]
40724072#[ rustc_intrinsic]
40734073pub fn contract_check_requires < C : Fn ( ) -> bool > ( cond : C ) {
@@ -4082,7 +4082,7 @@ pub fn contract_check_requires<C: Fn() -> bool>(cond: C) {
40824082/// By default, if `contract_checks` is enabled, this will panic with no unwind if the condition
40834083/// returns false.
40844084#[ cfg( not( bootstrap) ) ]
4085- #[ unstable( feature = "rustc_contracts_internals " , issue = "133866 " /* compiler-team#759 */ ) ]
4085+ #[ unstable( feature = "contracts_internals " , issue = "128044 " /* compiler-team#759 */ ) ]
40864086#[ rustc_intrinsic]
40874087pub fn contract_check_ensures < ' a , Ret , C : Fn ( & ' a Ret ) -> bool > ( ret : & ' a Ret , cond : C ) {
40884088 if contract_checks ( ) && !cond ( ret) {
0 commit comments