This has now been approved as a language feature and no longer needs a `rustc_` prefix. Also change the `contracts` feature to be marked as incomplete and `contracts_internals` as internal.
14 lines
585 B
Plaintext
14 lines
585 B
Plaintext
error[E0658]: `cfg(contract_checks)` is experimental and subject to change
|
|
--> $DIR/feature-gate-cfg-contract-checks.rs:4:10
|
|
|
|
|
LL | cfg!(contract_checks)
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
|
= 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`.
|