-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Originally reported here: https://users.rust-lang.org/t/cant-to-introspect-error-cause/6536/2
Because cause doesn't return an Error bound by 'static you can't downcast it.
This seems like a significant oversight. Of course you want to be able to downcast that object.
matklad, willglynn, seanmonstar, FauxFaux, stanislav-tkach and 5 more
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.