-
Notifications
You must be signed in to change notification settings - Fork 60
Add tests for Rust subleties #147
Copy link
Copy link
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
There are many small ways to break certain semver guarantees, and it would be nice if we could avoid making these mistakes; so let's add some tests to ensure that!
Add tests for:
- Presence (or absence) of marker traits on types:
SendSyncUnwindSafeRefUnwindSafeUnpin
-
Contains interior mutability (e.g. disallowing placing something in a static) - Object safety on the traits we expose.
- Variance of any lifetimes and/or generics we expose.
Possibly also: Integrate cargo-semver-checks in CI?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers