Skip to content

Handle checking traits#15

Merged
AlexanderPortland merged 9 commits intomainfrom
traits
Dec 10, 2025
Merged

Handle checking traits#15
AlexanderPortland merged 9 commits intomainfrom
traits

Conversation

@AlexanderPortland
Copy link
Collaborator

@AlexanderPortland AlexanderPortland commented Dec 10, 2025

Adds support for checking traits by automatically visiting reachable associated functions and ensuring that the obligations created by a function that's an implementation of a trait matches the obligations listed on the trait definition.

This also adds support for a custom check function for each property, and they're currently used to ensure that all functions annotated as having # Safety requirements also use Rust's unsafe keyword.

@AlexanderPortland AlexanderPortland merged commit c9bf6ab into main Dec 10, 2025
5 checks passed
@AlexanderPortland AlexanderPortland deleted the traits branch December 10, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant