-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Show some inner errors (do not hide them with .context) #1916
Conversation
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.
Should this not work for all errors that have source? Is a simple way to do that to cast to an anyhow::Error if it not already is and then use it's :#
formatter as this already does?
@flub I am afraid I don't understand what you mean. |
Did a similar action. But personally I don't know the detailed difference between |
ecdbd2c
to
249d872
Compare
I mean we have a bunch of errors which are not
Here both of these variants will return something when you call |
Now I understand. As we are mostly using In VSCode + Rustanalyzer you can hover your mouse over a variable and then click Hmmmm... Do you think we should replace all 101 occurences in 24 files of |
I opened an issue in I would rather replace only errors which are tested with |
249d872
to
55d7338
Compare
Perhaps for It might be possible to write a formatter helper with a signature that accepts |
No description provided.