Skip to content

io: Require core::error::Error for the Error trait #672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

chrysn
Copy link
Contributor

@chrysn chrysn commented Aug 3, 2025

Unlike #630 (which merely implemented the then-stabilized core:…:Error on types), this would be a breaking change (spooling for #566), but contributes to the idiomatic usability of our error types because all conversions through core:…:Error are thus available easily.

This is "only breaking for implementers of the trait" – that's not a thing in semver, but can be a relevant piece of changelog information if all our changes for >>0.6 are.

@chrysn chrysn requested a review from a team as a code owner August 3, 2025 08:14
@Dirbaio Dirbaio added this pull request to the merge queue Aug 6, 2025
Merged via the queue into rust-embedded:master with commit 20e5484 Aug 6, 2025
7 checks passed
@chrysn chrysn deleted the io-error-depend-core-error branch August 7, 2025 18:26
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