-
Notifications
You must be signed in to change notification settings - Fork 18
Make &dyn Error and Box<dyn Error> implement Error #16
Comments
The first impl can be added, but does cause a small amount of breakage: rust-lang/rust#75180 |
Here's what I've been thinking so far. I thought we could discuss it at our next meeting: We somewhat hitched our wagon to Even without So now the question is should we recommend What bound should we recommend users accept when they want to accept dynamic errors? Is it I think the recommendation should be:
If you do really want |
For a recommendation on how to accept errors abstractly, we discussed this at the recent project group meeting and settled on:
|
This is a tracking issue to pursue the following trait impls:
Each of these impls comes with caveats that make them non-trivial to just introduce. We should try explore these caveats to see what it would take to make them possible.
The text was updated successfully, but these errors were encountered: