-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup:
innermost_source_matches
can handle dereferencing boxed errors
Basic error reporting and debug representations of things hide `Box`es. It's also not trivial to downcast into them, particularly in the context of a macro like this! Non-trivial does not mean impossible, though. Adding this capability to the macro means that we can avoid an ugly workaround in the test suite.
- Loading branch information
1 parent
c84da0b
commit 8cd3806
Showing
2 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters