contracts: added lang items that act as hooks for rustc-injected code to invoke.
see test for an example of the kind of injected code that is anticipated here.
This commit is contained in:
committed by
Celina G. Val
parent
bcb8565f30
commit
777def87d5
@@ -114,6 +114,7 @@
|
||||
#![feature(bstr)]
|
||||
#![feature(bstr_internals)]
|
||||
#![feature(const_carrying_mul_add)]
|
||||
#![feature(closure_track_caller)]
|
||||
#![feature(const_eval_select)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(coverage_attribute)]
|
||||
@@ -246,6 +247,10 @@ pub mod autodiff {
|
||||
pub use crate::macros::builtin::autodiff;
|
||||
}
|
||||
|
||||
#[cfg(not(bootstrap))]
|
||||
#[unstable(feature = "rustc_contracts", issue = "none")]
|
||||
pub mod contracts;
|
||||
|
||||
#[unstable(feature = "cfg_match", issue = "115585")]
|
||||
pub use crate::macros::cfg_match;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user