Skip to content

Add an option to turn contract clauses into assertions #3326

@celinval

Description

@celinval

Requested feature: Enable contract checking without stubbing.
Use case: Be able to detect if a function violate the contract of any of its dependencies. This can be very helpful for debbuging verification failures due to API misuse. This is especially important for functions that are only be annotated with safety contract, and for those that are not eligible for stubbing.
Link to relevant documentation (Rust reference, Nomicon, RFC):

Metadata

Metadata

Labels

Z-ContractsIssue related to code contracts[C] Feature / EnhancementA new feature request or enhancement to an existing feature.[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions