Skip to content
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

Remove orphan Show instance for Foreign.C.Error.Errno #54

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

jorisdral
Copy link
Collaborator

@jorisdral jorisdral commented Apr 23, 2024

Resolves #53

@jorisdral jorisdral requested a review from a team as a code owner April 23, 2024 10:07
@jorisdral jorisdral self-assigned this Apr 23, 2024
@jorisdral jorisdral force-pushed the jdral/remove-show-errno branch from 1b2b01b to 7ec9093 Compare April 23, 2024 14:15
@jorisdral jorisdral enabled auto-merge April 23, 2024 14:16
auto-merge was automatically disabled April 23, 2024 14:22

Merge queue setting changed

@jorisdral jorisdral enabled auto-merge April 23, 2024 14:25
@jorisdral jorisdral added this pull request to the merge queue Apr 23, 2024
@jorisdral jorisdral removed this pull request from the merge queue due to a manual request Apr 23, 2024
This orphan instance largely exists to auto-derive a `Show` instance for
`FsError`. Exposing an orphan instance for a type from `base` is not very nice,
however. As such, we've removed the orphan instance, and we've written the `Show
FsError` instance by hand.

Note that this is a breaking change for both `fs-api` and `fs-sim`, since the
orphan instance is propagated from `fs-api` through `fs-sim`.
@jorisdral jorisdral force-pushed the jdral/remove-show-errno branch from 7ec9093 to f4ea482 Compare April 23, 2024 14:58
@jorisdral jorisdral enabled auto-merge April 23, 2024 14:58
@jorisdral jorisdral added this pull request to the merge queue Apr 23, 2024
Merged via the queue into main with commit 3c5b49c Apr 23, 2024
18 checks passed
@jorisdral jorisdral deleted the jdral/remove-show-errno branch April 23, 2024 15:25
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.

Remove the orphan Show Errno instance
2 participants