mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 01:57:25 +00:00
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.