Skip to content

Conversation

@ratmice
Copy link
Collaborator

@ratmice ratmice commented Mar 11, 2025

This adds the non_exhaustive attribute to the *ErrorKind enums.
It appears they are being used exhaustively everywhere because adding it didn't require any other code changes outside of their respective crates.

This is technically a breaking change that seems unlikely to break anything, but should allow us to add ErrorKind variants in the future without risk.

@ltratt ltratt added this pull request to the merge queue Mar 11, 2025
Merged via the queue into softdevteam:master with commit 83e9225 Mar 11, 2025
2 checks passed
@ratmice ratmice deleted the non_exhaustive_error_kinds branch March 11, 2025 14:33
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.

2 participants