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

Separate Error and Display derives #295

Conversation

SCingolani
Copy link

I was faced with the same as this issue: #250

I have a no_std project but I want to use both the Display and From implementations from this crate.

This is still a work in progress, pending:

  • Add / update documentation
  • Some attributes do nothing for Display (e.g. source) so this should give an error?

Would there be any opposition for such a change? As per commented in the linked issue, this could be a nice to have until stabilization of error_in_core.

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I commented on the issue — this is not something I would want to support in this crate.

Thanks anyway for the PR!

@dtolnay dtolnay closed this Apr 16, 2024
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.

None yet

2 participants