2024-12-02 20:35:13 +00:00
|
|
|
error[E0658]: `cfg(contract_checks)` is experimental and subject to change
|
|
|
|
|
--> $DIR/feature-gate-cfg-contract-checks.rs:4:10
|
|
|
|
|
|
|
|
|
|
|
LL | cfg!(contract_checks)
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
2024-12-02 20:35:13 +00:00
|
|
|
= help: add `#![feature(cfg_contract_checks)]` to the crate attributes to enable
|
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|