-
Notifications
You must be signed in to change notification settings - Fork 85
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
error: allow backtrace Option to be Display on stable #258
error: allow backtrace Option to be Display on stable #258
Conversation
be505e0
to
b05488c
Compare
Why wouldn't the user just test if the option is None? |
Ohhh… I see what's going on. What if we just used some already available type like |
I don't understand? |
@Fishrock123 sorry, forgot that comments don't auto escape |
This prevents the need for users to do backtrace feature-checking for code that wishes to use `Display` for a backtrace and also compile on stable.
b05488c
to
10c3f60
Compare
I would rather it be a type that implements exactly the same traits as |
Ultimately, the correct answer here is that it would be |
Yep, agreed that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this is a fun patch. Looking good!
This prevents the need for users to do backtrace feature-checking for code that wishes to use
Display
for a backtrace and also compile on stable.