rust/tests/ui/contracts/internal_machinery
Dawid Lachowicz aeae085dc3
Add contract variable declarations
Contract variables can be declared in the `requires` clause and
can be referenced both in `requires` and `ensures`, subject to usual
borrow checking rules.

This allows any setup common to both the `requires` and `ensures`
clauses to only be done once.
2025-10-18 15:00:34 +01:00
..
lowering Add contract variable declarations 2025-10-18 15:00:34 +01:00
contract-ast-extensions-nest.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
contract-ast-extensions-tail.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
contract-intrinsics.rs Remove no longer used contract_checks intrinsic 2025-10-11 00:16:44 +01:00
contract-lang-items.chk_fail_post.stderr Remove no longer used contract_checks intrinsic 2025-10-11 00:16:44 +01:00
contract-lang-items.chk_pass.stderr Remove no longer used contract_checks intrinsic 2025-10-11 00:16:44 +01:00
contract-lang-items.rs Remove no longer used contract_checks intrinsic 2025-10-11 00:16:44 +01:00
contract-lang-items.unchk_pass.stderr Remove no longer used contract_checks intrinsic 2025-10-11 00:16:44 +01:00
contracts-lowering-ensures-is-not-inherited-when-nesting.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
contracts-lowering-requires-is-not-inherited-when-nesting.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
internal-feature-gating.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
internal-feature-gating.stderr Add contract variable declarations 2025-10-18 15:00:34 +01:00