Skip to content

#[from] without implying #[source] #422

@lolbinarycat

Description

@lolbinarycat

If the source error contains borrowed data, it won't be able to be returned from Error::source, but it would still be nice to be able to derive the From implementation.

Unfortunately, it seems like there is no way to make thiserror do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions