Skip to content

Error causes can't be downcast #35943

Closed
Closed
@brson

Description

@brson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions