rust/tests/ui/contracts
Celina G. Val 804cce47d9 Refactor contract builtin macro + error handling
Instead of parsing the different components of a function signature,
eagerly look for either the `where` keyword or the function body.

- Also address feedback to use `From` instead of `TryFrom` in cranelift
  contract and ubcheck codegen.
2025-02-03 13:55:15 -08:00
..
internal_machinery Separate contract feature gates for the internal machinery 2025-02-03 13:55:15 -08:00
contract-annotation-limitations.rs Refactor contract builtin macro + error handling 2025-02-03 13:55:15 -08:00
contract-annotation-limitations.stderr Refactor contract builtin macro + error handling 2025-02-03 13:55:15 -08:00
contract-attributes-generics.rs Refactor contract builtin macro + error handling 2025-02-03 13:55:15 -08:00
contract-attributes-nest.rs Desugars contract into the internal AST extensions 2025-02-03 13:54:32 -08:00
contract-attributes-tail.rs Desugars contract into the internal AST extensions 2025-02-03 13:54:32 -08:00
contract-captures-via-closure-copy.rs demonstrate how to capture state at precondition time and feed into postcondition predicate. 2025-02-03 13:55:15 -08:00
contract-captures-via-closure-noncopy.rs demonstrate how to capture state at precondition time and feed into postcondition predicate. 2025-02-03 13:55:15 -08:00
contract-captures-via-closure-noncopy.stderr demonstrate how to capture state at precondition time and feed into postcondition predicate. 2025-02-03 13:55:15 -08:00
contracts-ensures-early-fn-exit.rs Desugars contract into the internal AST extensions 2025-02-03 13:54:32 -08:00
contracts-ensures-is-not-inherited-when-nesting.rs Desugars contract into the internal AST extensions 2025-02-03 13:54:32 -08:00
contracts-requires-is-not-inherited-when-nesting.rs Desugars contract into the internal AST extensions 2025-02-03 13:54:32 -08:00
disallow-contract-annotation-on-non-fn.rs Refactor contract builtin macro + error handling 2025-02-03 13:55:15 -08:00
disallow-contract-annotation-on-non-fn.stderr Refactor contract builtin macro + error handling 2025-02-03 13:55:15 -08:00