about summary refs log tree commit diff
path: root/library/core/src/contracts.rs
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2025-01-15 13:54:04 -0800
committerCelina G. Val <celinval@amazon.com>2025-02-03 13:55:15 -0800
commit804cce47d96d7b30f3798b51a1377c6697011c54 (patch)
treefe9addffcc69d9d44739bb7ed5a046605c6f5e65 /library/core/src/contracts.rs
parent6a6c6b891bb0350b3f16abd3e84ff12dbd1b4c5b (diff)
downloadrust-804cce47d96d7b30f3798b51a1377c6697011c54.tar.gz
rust-804cce47d96d7b30f3798b51a1377c6697011c54.zip
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.
Diffstat (limited to 'library/core/src/contracts.rs')
0 files changed, 0 insertions, 0 deletions