2024-12-03 16:13:00 +00:00
|
|
|
error[E0658]: contract internal machinery is for internal use only
|
2025-02-10 19:47:00 +00:00
|
|
|
--> $DIR/internal-feature-gating.rs:16:28
|
2024-12-03 16:13:00 +00:00
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
LL | fn identity_1() -> i32 contract_requires(|| true) { 10 }
|
2025-02-10 19:47:00 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2024-12-03 16:13:00 +00:00
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
|
|
|
|
= help: add `#![feature(contracts_internals)]` to the crate attributes to enable
|
2024-12-03 16:13:00 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
|
|
|
|
error[E0658]: contract internal machinery is for internal use only
|
2025-02-10 19:47:00 +00:00
|
|
|
--> $DIR/internal-feature-gating.rs:18:28
|
2024-12-03 16:13:00 +00:00
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
LL | fn identity_2() -> i32 contract_ensures(|_| true) { 10 }
|
2025-02-10 19:47:00 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2024-12-03 16:13:00 +00:00
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
|
|
|
|
= help: add `#![feature(contracts_internals)]` to the crate attributes to enable
|
2024-12-03 16:13:00 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
error[E0658]: use of unstable library feature `contracts_internals`
|
2024-12-03 16:13:00 +00:00
|
|
|
--> $DIR/internal-feature-gating.rs:5:5
|
|
|
|
|
|
|
|
|
|
|
LL | core::intrinsics::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
|
|
|
|
|
= help: add `#![feature(contracts_internals)]` to the crate attributes to enable
|
2024-12-03 16:13:00 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
error[E0658]: use of unstable library feature `contracts_internals`
|
2024-12-03 16:13:00 +00:00
|
|
|
--> $DIR/internal-feature-gating.rs:7:5
|
|
|
|
|
|
|
|
|
|
|
LL | core::intrinsics::contract_check_requires(|| true);
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
|
|
|
|
= help: add `#![feature(contracts_internals)]` to the crate attributes to enable
|
2024-12-03 16:13:00 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
error[E0658]: use of unstable library feature `contracts_internals`
|
2024-12-03 16:13:00 +00:00
|
|
|
--> $DIR/internal-feature-gating.rs:9:5
|
|
|
|
|
|
|
|
|
|
|
LL | core::intrinsics::contract_check_ensures(&1, |_|true);
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
|
|
|
|
= help: add `#![feature(contracts_internals)]` to the crate attributes to enable
|
2024-12-03 16:13:00 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
error[E0658]: use of unstable library feature `contracts_internals`
|
2025-01-17 14:49:10 -08:00
|
|
|
--> $DIR/internal-feature-gating.rs:12:5
|
2024-12-03 16:13:00 +00:00
|
|
|
|
|
|
|
|
|
LL | core::contracts::build_check_ensures(|_: &()| true);
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2025-01-30 17:06:09 -08:00
|
|
|
= note: see issue #128044 <https://github.com/rust-lang/rust/issues/128044> for more information
|
|
|
|
|
= help: add `#![feature(contracts_internals)]` to the crate attributes to enable
|
2024-12-03 16:13:00 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
2025-01-17 14:49:10 -08:00
|
|
|
error: aborting due to 6 previous errors
|
2024-12-03 16:13:00 +00:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|