Impl Error for Infallible #70842
Labels
A-error-handling
Area: Error handling
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Is there a reason why
std::convert::Infallible
does not implementstd::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 implementsDebug
andDisplay
.The text was updated successfully, but these errors were encountered: