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

Disable generated Display implementation #473

Open
rben01 opened this issue Jan 2, 2025 · 0 comments
Open

Disable generated Display implementation #473

rben01 opened this issue Jan 2, 2025 · 0 comments

Comments

@rben01
Copy link

rben01 commented Jan 2, 2025

I have an error type whose Display implementation actually has a bunch of logic and can't be expressed as a format!-style string literal. I would like to have this type #[derive(Snafu)], but that results in conflicting Display implementations. Is it possible to disable snafu’s generated Display implementation so that I can use my own?

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

No branches or pull requests

1 participant