-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-error-handlingArea: Error handlingArea: Error handlingC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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
Is there a reason why std::convert::Infallible
does not implement std::error::Error
? I could not find anything about this, apart from the planned replacement by !
type.
If not, could this be implemented ? It would be very useful for generic code, and would not be complex as Infallible
already implements Debug
and Display
.
Metadata
Metadata
Assignees
Labels
A-error-handlingArea: Error handlingArea: Error handlingC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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.